Sub-IoT-Stack
Sub-IoT-Stack copied to clipboard
Board resets when sending message using default access class at index 1 set to normal rate.
I ran into a bug where the B-L072Z-LRWAN1 board would reset when sending a message using access class 1 to normal rate. the code below would cause the board to reset using access class 0x11 in the session config.
dae_access_profile_t profile;
d7ap_fs_read_access_class(1, &profile);
profile.channel_header = (channel_header_t)
{
.ch_class = PHY_CLASS_NORMAL_RATE,
.ch_coding = PHY_CODING_FEC_PN9,
.ch_freq_band = PHY_BAND_868
};
d7ap_fs_write_access_class(1, &profile);
d7ap_send(args);
do you have any logs of this? did the board assert somewhere?
Nope didn't get an assert the board would just reset and print the logs from the bootstrap function again.
hmmm ok, normal rate is automatically being tested, but these tests are very basic. We're not testing low power listening (which is default for access class 0x11) combined with normal rate at this time. Could be that there's still an issue there.
and what is the reboot reason when the device reboots?
It didn't show a reason it just rebooted. But I just switched to lo-rate for the background message now because I don't need to increased data speed for that.
normally one of the first messages when booting is "rebooted with reason X" which should show you the reboot reason. but if it's fixed like this for now, that's also great :)