Skip to content
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.

Bug/BLE packet parsing #91

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Jun 5, 2017

  1. Need to accept all data packages of all sizes. For example "collision…

    … notifications" are of 22 bytes, so they may come in two separate packages of 24 and 4 bytes (containing sphero.js packages of 20 and 2 bytes)
    scheunemann committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    87d46f5 View commit details
    Browse the repository at this point in the history
  2. Transfer all small packages to the next step. Only discard if packets…

    … are of minimal length (6 bytes) and have not a valid header.
    scheunemann committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    f0501b7 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2017

  1. Introduce functions for checking fragments for being valid (header + …

    …size correct + some extra bytes) or unvalid (proper header for fragments >= 2 bytes)
    
    Change logic, drop first package if two valid packages are received
    scheunemann committed Jun 20, 2017
    Configuration menu
    Copy the full SHA
    8f72d9b View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2017

  1. delete debug messages

    scheunemann committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    ae4a881 View commit details
    Browse the repository at this point in the history