You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that I was unable to set the interrupt mode with the AT+INTMOD=x command on devices with FW-1.7.2.
The issue appeared to be in at.c#1359 where the uint8_t caused the misery. Replacing with int appears to fix the issue. Not familiar enough with the environment to find if there is a compiler directive I should have set.
ATEerror_t at_INTMOD_set(const char *param) {
// uint8_t interrputmode;
int interrputmode;
if (tiny_sscanf(param, "%d", &interrputmode) != 1) {
return AT_PARAM_ERROR;
}
There are several other commands that have the same issue: CHE, RPL...
Environment:
OS: MacOS 11.6.7
IDE: STM32CubeIDE Version: 1.10.0
Toolkit: GNU Tools for STM32 (10.3-2021.10)
Cheers,
Erwin
The text was updated successfully, but these errors were encountered:
Hi,
I noticed that I was unable to set the interrupt mode with the AT+INTMOD=x command on devices with FW-1.7.2.
The issue appeared to be in at.c#1359 where the uint8_t caused the misery. Replacing with int appears to fix the issue. Not familiar enough with the environment to find if there is a compiler directive I should have set.
There are several other commands that have the same issue: CHE, RPL...
Environment:
OS: MacOS 11.6.7
IDE: STM32CubeIDE Version: 1.10.0
Toolkit: GNU Tools for STM32 (10.3-2021.10)
Cheers,
Erwin
The text was updated successfully, but these errors were encountered: