raphaelmoncaut

raphaelmoncaut

Member Since 5 years ago

Experience Points
0
follower
Lessons Completed
1
follow
Best Reply Awards
2
repos

3 contributions in the last year

Pinned
⚡ Modified Arduino SpiRAM library
⚡ Low-code programming for event-driven applications
Activity
Oct
14
1 week ago
push

raphaelmoncaut push raphaelmoncaut/node-red

raphaelmoncaut
raphaelmoncaut
raphaelmoncaut
raphaelmoncaut

Merge pull request #1 from raphaelmoncaut/raphaelmoncaut-patch-1

Update 31-tcpin.js

commit sha: 55051c67182fbec391d9ad0cd21239a76376ecfc

push time in 1 week ago
pull request

raphaelmoncaut pull request raphaelmoncaut/node-red

raphaelmoncaut
raphaelmoncaut

Update 31-tcpin.js

Adding a variable to modify initial keepAlive delay.

pull request

raphaelmoncaut pull request raphaelmoncaut/node-red

raphaelmoncaut
raphaelmoncaut

Update 31-tcpin.js

Adding a variable to modify initial keepAlive delay.

Activity icon
created branch

raphaelmoncaut in raphaelmoncaut/node-red create branch raphaelmoncaut-patch-1

createdAt 1 week ago
Activity icon
fork

raphaelmoncaut forked node-red/node-red

⚡ Low-code programming for event-driven applications
raphaelmoncaut Apache License 2.0 Updated
fork time in 1 week ago
Oct
13
1 week ago
Oct
12
1 week ago
Activity icon
issue

raphaelmoncaut issue khoih-prog/GSM_Generic

raphaelmoncaut
raphaelmoncaut

TOBY-L2 support issue

Arduino IDE version: 1.8.16 MCU board : Adafruit Feather M0 Adalogger OS : Windows 10 20H2

Hi ! I tried to use the lib with a TOBY-L210 modem and it doesn't work well.

I used it on a Adafruit Feather M0 Adalogger with the SendSMS example. I changed the the defines in order to select the Generic UBLOX modem and also selected the right serial ports for both Debug and GSM.

Everything is working well with the LISA-U200 but as soon as I replace it with the TOBY-L210, nothing works.

The first obvious issue is the fact that the lib doesn't wait long enough for the modem to reboot because, for some reason, my TOBY-L2 takes about 18 seconds to reboot (not absolutely sure that's normal but is seems like it is).

The second issue i found pretty quickly is that the TOBY-L2 modems does not support AT commands terminated by both CR and LF for the reason that is written in the first note in the part 1.3.3 of the AT Commands Manual.

After kind of patching these two issues, the sketch seemed to begin correctly until it reached the AT+CMGF=1 command. The modem's response to this command doesn't seem making any sense to me and it changes everytime. After that response, the program gets stuck at this point.

At this point I'm kind of confused on what's going wrong.

Here is an example of console output (with debug level = 6) until the program gets stuck :


Starting SendSMS on SAMD_ZERO
GSM_Generic v1.6.1
[GSM] begin: UART baud = 9600
AT+CFUN=16
[GSM] begin: reset error
[GSM] GSM::begin: _gsmData._state = GSM_ERROR
Not connected
[GSM] begin: UART baud = 9600
AT+CFUN=16
AT+CFUN=16

OK
AT
AT

OK
AT
AT

OK
[GSM] begin: Check autosense
AT
AT

OK
[GSM] begin: Modem OK
AT+CPIN?
AT+CPIN?

+CPIN: SIM PIN

OK
AT+CPIN="0294"
AT+CPIN="0294"

OK
AT+CMGF=1
U*
|

An other example of weird response (note that, this time, the CMGF is ok but the next ccommand is f*cked up) :

AT+CMGF=1
AT+CMGF=1

OK
AT+UDCONF=1,1
URA"D1

I tried sending the AT+CMGF=1 command by hand using a serial terminal in a similar context (after sending all the preceding commands) and I don't get this kind of weird response.

Do someone have an idea of what's happening ? Is it intended to add proper support for TOBY modems ?