PaxInstruments / nokia-phone-arduino-shield

This project is the Pax Instruments Nokia Phone Arduino Shield
2 stars 0 forks source link

SMS message packaging #6

Open charlespax opened 9 years ago

charlespax commented 9 years ago

The firmware needs the ability to package a SMS message.

charlespax commented 9 years ago

"I've updated the Arduino code to format a correct SMS packet and a hardware request packet. The next step is to get a response from the phone to confirm the packets are correct and build a handler for the data back. I could lift the RX pin from the connector and use a logic analyzer to confirm the correct packet." -Drew

charlespax commented 9 years ago

Awesome. Do whatever you need to the board. We have more PCBs. Though I'm not sure if I have additional level shifters.

charlespax commented 9 years ago

"I was able to format messages from the Arduino and send them via FBus, I saw the SW/HW version response and an ACK message from the phone as expected. The next step was to format an SMS packet and see if it worked. I followed all the documentation I could find about FBus SMS packets and have a correct packet. When I sent it to the phone I got a response that isn't documented in any of the protocol text files, and the text didn't go through." -Drew

protological commented 9 years ago

The firmware has been updated to send and receive FBus packets, we can correctly send the HWSW request message, receive the ACK, ACK the ACK, receive the HWSW response and ACK that so it is only sent a single time.

The ACK is handled automatically in the class and the user doesn't need to deal with it. I've also added functions for "resetting" the bus by sending 0x55 values.