StephenBlackWasAlreadyTaken / wixel-xDrip

Allow a wixel to function as Dexcom Reciever
Other
47 stars 117 forks source link

Binary protocol over bluetooth #27

Closed raduiliescu closed 9 years ago

raduiliescu commented 9 years ago

Change data exachange over bluetooth to a binary format.

Advantages:

  1. data can easily be decoded;
  2. more robust to error and is not taking just parts of the packets;
  3. can be easily extended:
    • for example I want to add next getMs and a packet id to the packets; the bluetooth chip is buffering packets if here is no connection and packets can be get with read.