Skip to content

Commit

Permalink
lte/alt1250: Fix LWM2MBSCMD/CREATE command for NIDD connection
Browse files Browse the repository at this point in the history
There is an extra comma in the LWM2MBSCMD/CREATE command.
So this fix remove it for correcting a formatting problem.
  • Loading branch information
SPRESENSE committed Apr 11, 2023
1 parent 0af282c commit 3f82a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lte/alt1250/alt1250_atcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ int lwm2mstub_send_bscreateobj1(FAR struct alt1250_s *dev,
FAR struct lwm2mstub_serverinfo_s *info)
{
snprintf((char *)dev->tx_buff, _TX_BUFF_SIZE,
"AT%%LWM2MBSCMD=\"CREATE\",1,0,0,0,1,%lu,%s\r", info->lifetime,
"AT%%LWM2MBSCMD=\"CREATE\",1,0,0,0,1,%lu%s\r", info->lifetime,
info->nonip ? ",7,\"N\",22,\"N\"" : "");

return send_internal_at_command(dev, container, usockid, proc, arg, ures);
Expand Down

0 comments on commit 3f82a7b

Please sign in to comment.