[Ovmsdev] USSD Signaling

Kevin Sharpe ZCW kevin.sharpe at zerocarbonworld.org
Tue Aug 20 21:18:40 HKT 2013


We've seen lots of issues with SIM configuration here and almost ever new OVMS user requires help.

When driving I've even lost connectivity in some European countries because I've been unable to remove the SIM for reconfiguration.

Anything that simplifies the configuration overhead would be welcome here!

        [http://www.zerocarbonworld.org/images/logo.png]        Kevin Sharpe | Founder & Patron
Tel: +44 122 566 7544 ext: 800 | Skype: zerocarbonworld
kevin.sharpe at zerocarbonworld.org <mailto:kevin.sharpe at zerocarbonworld.org> | www.zerocarbonworld.org<http://www.zerocarbonworld.org/> | twitter.com/zerocarbonworld<http://twitter.com/ZCWcharlie>
[http://www.zerocarbonworld.org/images/email-signatures_06.png]
Zero Carbon World is a UK Registered Charity #1141347
From: Mark Webb-Johnson <mark at webb-johnson.net<mailto:mark at webb-johnson.net>>
Reply-To: OVMS Developers <ovmsdev at lists.teslaclub.hk<mailto:ovmsdev at lists.teslaclub.hk>>
Date: Tuesday, 20 August 2013 15:04
To: OVMS Developers <ovmsdev at lists.teslaclub.hk<mailto:ovmsdev at lists.teslaclub.hk>>
Subject: [Ovmsdev] USSD Signaling


I've had a proposal from a M2M provider that is interesting, so thought I'd distribute it here, and get feedback.

A very low-level protocol in the GSM standard is called USSD. It involves the transmission of a single alpha-numeric message of up to about 120 characters. Our protocol messages would fit perfectly into it. The USSD protocol is routed at a very low level, and is a datagram-syle protocol (it may be discarded by the network if there is no cellular connectivity, kind of like UDP). The protocol is supposedly better able to make it through congested and low-signal areas than even SMS, and certainly much better than GPRS. Message transit times are faster than SMS at around 1 second (of course, depending on cellular coverage).

The interesting things about the protocol are than (a) it is free (or flat-rate, at least), and (b) it supports roaming. One SIM, flat rate, globally.

The M2M provider suggests that we buy SIMs from them with unlimited USSD plans. Once activated, the SIMs would work globally on hundreds of partner carriers, and would only support USSD (not SMS or GPRS data). The way it would work for OVMS would  be:


  1.  Every OVMS module would be provided with a USSD SIM already onboard. It would work globally.
  2.  The owner would go to the www.openvehicles.com<http://www.openvehicles.com> website and create a vehicle record as normal, but also enter the serial number of the SIM.
  3.  When the OVMS module powers on, it would read the serial number from the SIM then send a single USSD message to us to request provisioning (vehicleid, server password, etc).
  4.  The OVMS server would send back a USSD message to provision the module in the car.
  5.  From then onwards, USSD messages would be used to encapsulate our current OVMS protocol messages.
  6.  The USSD messages are bi-directionally gatewayed to the OVMS server via the M2M provider, over the Internet.
  7.  There would need to be some small changes to the encryption protocol we use.
  8.  The OVMS firmware could support this as a special operation mode - based on the prefix of the SIM inserted. So, it could work in normal SMS/GPRS mode as well as USSD mode (switched by the SIM in the module).

Cost wise, this would increase the cost of the module by less than US$10 (price of the SIM). A monthly flat-rate "unlimited" USSD plan would be around US$8-US$10 per month.

What do people think?

Regards, Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20130820/0eaf3147/attachment-0001.html>


More information about the OvmsDev mailing list