Hello pololebreton1,
Take a view to our library, there you can see the code of the .joinOTAA() and .joinABP() methods:
Code:
uint8_t arduinoLoRaWAN::joinABP()
{
[..]
// create "mac join abp" command
sprintf_P(_command,(char*)pgm_read_word(&(table_LoRaWAN_COMMANDS[7])));
[..]
//send command and wait for ans
status = sendCommand(_command, ans1, ans2, ans3, (uint32_t)500);
[..]
}
then you can compare our method with the module command in the AT guide ("mac join" command) page 20:
http://ww1.microchip.com/downloads/en/D ... 01784B.pdfas you can see we only manage the first response in our method (the accepted join to network response), if you can not see the second response you can freely modify our function, or see the internal _buffer content.
take a view to this post:
viewtopic.php?f=20&t=8947Regards.