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

I cannot receive incoming messages. #28

Closed
Topkir opened this issue Apr 13, 2021 · 18 comments
Closed

I cannot receive incoming messages. #28

Topkir opened this issue Apr 13, 2021 · 18 comments

Comments

@Topkir
Copy link

Topkir commented Apr 13, 2021

10
22

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.

@apie135
Copy link

apie135 commented Apr 14, 2021

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.

@nimaltd
Copy link
Owner

nimaltd commented Apr 15, 2021

Hi. All other is working? only new message callback does not work?

@ch
Copy link

ch commented Apr 15, 2021

You should register callback function for usart interrupt.
HAL:

void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) {
    if (huart == UART_SIM800) {
        gsm_rxCallback();
    }
}

@apie135
Copy link

apie135 commented Apr 15, 2021

3

Is this spelling wrong?

Ekran Alıntısı

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(); } }

@apie135
Copy link

apie135 commented Apr 15, 2021

@nimaltd Yes I can send message but I cant Receive message
only new message callback is not work?

@ch
Copy link

ch commented Apr 15, 2021

@apie135 sorry,
gsm_rxCallback :)

Do you use LL or HAL?

@apie135
Copy link

apie135 commented Apr 15, 2021

I use LL Library for Usart

@apie135
Copy link

apie135 commented Apr 15, 2021

I can Receive message past. Bus new message I cant

@nimaltd
Copy link
Owner

nimaltd commented Apr 17, 2021

I changed ATC to previews version. please try again.

@apie135
Copy link

apie135 commented Apr 17, 2021

I will retun home today. I am going to try totay. I will give information thankn you

@apie135
Copy link

apie135 commented Apr 18, 2021

Hi @nimaltd
Doesn't go into "gsm_callback_newMsg" function.

@apie135
Copy link

apie135 commented Apr 18, 2021

dfdf

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.

@nimaltd
Copy link
Owner

nimaltd commented Apr 18, 2021

@apie135 i dont know why. Do you want I connect to your system via anydesk and debug it?

@nimaltd
Copy link
Owner

nimaltd commented Apr 18, 2021

@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

@apie135
Copy link

apie135 commented Apr 18, 2021

@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.

@nimaltd
Copy link
Owner

nimaltd commented Apr 19, 2021

I am available now.

@apie135
Copy link

apie135 commented Apr 19, 2021

thank you for your interest. I sent you a mail.

@apie135
Copy link

apie135 commented Apr 20, 2021

Hi nimal dou you connect my pc via anydesk

@nimaltd nimaltd closed this as completed Apr 25, 2021
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

4 participants