Skip to content

Commit

Permalink
Merge pull request #14 from sakura-internet/feat/swap_rx_result
Browse files Browse the repository at this point in the history
$$RX コマンド応答の順番を修正
  • Loading branch information
f-okuhara authored Nov 18, 2021
2 parents c70405b + 20fdb3c commit 9fa4999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prj.conf.base
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ CONFIG_LTE_PSM_REQ_RAT="00000010"
CONFIG_SIPF_APP_TYPE=0
CONFIG_SIPF_APP_VER_MAJOR=0
CONFIG_SIPF_APP_VER_MINOR=3
CONFIG_SIPF_APP_VER_RELEASE=0
CONFIG_SIPF_APP_VER_RELEASE=1
2 changes: 1 addition & 1 deletion src/cmd_ascii.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ static int cmdAsciiCmdRx(uint8_t *in_buff, uint16_t in_len, uint8_t *out_buff, u
LOG_ERR("SipfObjectParse() failed...");
return cmdCreateResNg(out_buff, out_buff_len);
}
idx += sprintf(&out_buff[idx], "%02x %02x %02x ", obj.obj_type, obj.obj_tagid, obj.value_len);
idx += sprintf(&out_buff[idx], "%02x %02x %02x ", obj.obj_tagid, obj.obj_type, obj.value_len);
for (int j = 0; j < obj.value_len; j++) {
idx += sprintf(&out_buff[idx], "%02X", obj.value[j]);
}
Expand Down

0 comments on commit 9fa4999

Please sign in to comment.