beegee-tokyo / WisBlock-API

WisBlock API takes care of all the LoRaWAN, BLE, AT command functionality. It makes development of event driven power savings applications easy.
MIT License
28 stars 15 forks source link

Update at_cmd.cpp #5

Closed Kongduino closed 2 years ago

Kongduino commented 2 years ago

Updated the at_query_p2p_config() function so that the string displays the exact same configuration string as what the user sends. Right now, we pass BW as "125" for instance, but the query function sends back "0":

AT+P2P=868000000:10:**125**:1:8:22
OK
AT+P2P=?
+P2P:868000000:10:**0**:1:8:22
OK

I think it's better to output the same thing the user sends.