Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AT+INTMOD=x causes WD reset - FIXED #19

Open
ehogeweg opened this issue Jun 29, 2022 · 0 comments
Open

AT+INTMOD=x causes WD reset - FIXED #19

ehogeweg opened this issue Jun 29, 2022 · 0 comments

Comments

@ehogeweg
Copy link

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.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant