11 years ago.

Mbed USB 3G SMS test not working

Hi all, I'm trying to us the example sms test program found on the website here:

http://mbed.org/users/donatien/code/VodafoneUSBModemSMSTest/

but it won't work. When compiling it ask for a library or something. I click on fix and it seems to work but then when running again it comes up with errors. Any ideas?? Many Thanks in advance

Rob

2 Answers

10 years, 12 months ago.

The dependent libraries are out of date. Please right click on mbed-rtos, mbed, and VodafoneUSBModem and update them. I just tested this and it works.

BTW, you don't have to create a new thread like in the example. You can just put everything in the main thread.

Accepted Answer

Thanks for that. That worked a treat. Unfortunately I now have new errors :) The updating sorted the previous problem but when compiling now I get 2 errors both saying the same but relating to different lines in the code:

"Struct "os_thread_def" has no field "stack_pointer"" in file "VodafoneUSBModem/lwip-sys/archsys_arch.c",

I honestly have no idea what they are. I have clicked on the help button but it brings up a blank page. Any ideas? Many Thanks

Rob

posted by robert heaney 27 Sep 2013
10 years, 12 months ago.

Thanks for that. That worked a treat. Unfortunately I now have new errors :) The updating sorted the previous problem but when compiling now I get 2 errors both saying the same but relating to different lines in the code:

"Struct "os_thread_def" has no field "stack_pointer"" in file "VodafoneUSBModem/lwip-sys/archsys_arch.c",

I've attached 2 pictures, one of each error and the section of code. I honestly have no idea what they are. I have clicked on the help button but it brings up a blank page. Any ideas? Many Thanks

Rob

/media/uploads/robert111/error_1.png /media/uploads/robert111/error_2.png