Closed Topkir closed 3 years ago
same problem
I can not receive a message, too. It goes into the "gsm_callback_newMsg ()" function, but not the brek pointe I put into the function.
Hi. All other is working? only new message callback does not work?
You should register callback function for usart interrupt. HAL:
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) {
if (huart == UART_SIM800) {
gsm_rxCallback();
}
}
Is this spelling wrong?
read me, it writes like this. "Sim800_RxCallBack ();" where is the reference.
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) { if (huart == UART_SIM800) { Sim800_RxCallBack(); } }
@nimaltd Yes I can send message but I cant Receive message only new message callback is not work?
@apie135 sorry, gsm_rxCallback :)
Do you use LL or HAL?
I use LL Library for Usart
I can Receive message past. Bus new message I cant
I changed ATC to previews version. please try again.
I will retun home today. I am going to try totay. I will give information thankn you
Hi @nimaltd Doesn't go into "gsm_callback_newMsg" function.
Not resolved
It goes into line 351, without going over the 350th line. Since this many messages are full, he does not receive new messages. I clear the messages for en and then start it. It goes on line 351, but still doesn't enter the function. "gsm_callback_newMsg". As you said, I've installed the previous atc.
@apie135 i dont know why. Do you want I connect to your system via anydesk and debug it?
@apie135 please clean your project and compile again. Update keil. And try again. It should be works. I am using this library without any problem
@nimaltd I recompiled the project and had the same problem again. If you have a link, we can do it. Whenever you are available? Thank you. I would be glad if you can connect to my computer.
I am available now.
thank you for your interest. I sent you a mail.
Hi nimal dou you connect my pc via anydesk
Hi
It doesn't go into line 360 at all. And It goes to line 351 without entering the 348th and 350th lines. I cannot read incoming messages. When I run it step by step, I see the previous messages in the array, but it never goes into the "gsm_callback_newMsg (char number, gsm_time_t time, char msg)" function.