18 April 2019 at 5:41 PM #37676
I was working on getting my new Raspberry Pi HAT that I have received and tried the simple example just to see if it is working fine. I have not been able to send a text message to my mobile phone.
I followed the instruction step by step on SixFab Github for their RPI Cellur HAT
When I run sendSMS.py which contains the code below with my phone number I get BG96 is enabled and B96 is started
Then I get a bunch of ATE1 that continuously echo until I cancel out the process.1234567891011121314151617from cellulariot import cellulariotimport time#node = cellulariot.CellularIoT() # for Sixfab CellularIoT HATnode = cellulariot.CellularIoTApp() # for Sixfab CellularIoT App. Shieldnode.setupGPIO()node.disable()time.sleep(1)node.enable()time.sleep(1)node.powerUp()node.getResponse("RDY")node.sendATComm("ATE1","OK\r\n")node.sendSMS("xxxxxxxxxxxxx","hello world!")
Does anyone know why it just continuously throws ATE1 to the command. I am using Hologram_IO as my carrier.18 April 2019 at 6:58 PM #37679
I found that the disable, enable did not work as expected when trying this .py. My suggestion is click the pwrkey button on the board, wait for the LEDs to go off, click the pwrkey button again, wait a few seconds for the LEDs to show the module has rebooted, then try the script.
The other option is the do the above while the script is working. The important bit is that it is waiting on RDY to return from the modem UART after it powers up. Since the disable/enable is not behaving well, the script just gets stuck.
Also, I assume you know that you need to update the script so the node.sendSMS has your phone number as the first parameter. Depending on the carrier you might need to use +FULLNUMBER notation.
I hope Sixfab updates their code to better handle the new HAT.
Paul18 April 2019 at 10:03 PM #37684
Where are the documents on node commands? What exactly does the command
node.enable/disabledo?19 April 2019 at 5:44 AM #37688
Find cellulariot.py file
After cloning files from github and ran setup.py, 3 folders were created where setup.py file is located (cellulariot, dist and sixfab_cellulariot.egg-info). Inside cellulariot folder you will find cellullariot.py———Open file with any text viewer or Geany22 April 2019 at 11:18 AM #37711
You must be logged in to reply to this topic.