DV2 Network Master #11

Closed
opened 2018-11-02 08:34:20 +00:00 by Squatnet · 5 comments
Squatnet commented 2018-11-02 08:34:20 +00:00 (Migrated from github.com)

The master device will be responsible for accepting incoming messages via bluetooth or PJON and sending those messages out to the correct device. DV2 is using dynamic addressing. The master assings an ID # to the slave, and awaits the slave registering, Registered slaves are kept in an array of structs, as mentioned in #13
The master device will most likely need to be a mega 2560 and will need to be able to parse both bluetooth messages and PJON messages these messages will be transmitted to a number of other devices via PJON softwareBitBang

  • Register different device types with name and id (see #13)
  • Remove devices that disconnect
  • Receive bluetooth message and parse
  • Receive PJON message and parse
  • Receive OSC clock signal from Pjon connected device #43
  • Send messages on to correct device
  • Allow sending to groups of devices by name, type, or both.
The master device will be responsible for accepting incoming messages via bluetooth or PJON and sending those messages out to the correct device. DV2 is using dynamic addressing. The master assings an ID # to the slave, and awaits the slave registering, Registered slaves are kept in an array of structs, as mentioned in #13 The master device will most likely need to be a mega 2560 and will need to be able to parse both bluetooth messages and PJON messages these messages will be transmitted to a number of other devices via PJON softwareBitBang - [x] Register different device types with name and id (see #13) - [x] Remove devices that disconnect - [x] Receive bluetooth message and parse - [x] Receive PJON message and parse - [x] Receive OSC clock signal from Pjon connected device #43 - [x] Send messages on to correct device - [x] Allow sending to groups of devices by name, type, or both.
Squatnet commented 2018-11-06 16:25:06 +00:00 (Migrated from github.com)

Recv bluetooth and parse json - done

Recv bluetooth and parse json - done
Squatnet commented 2019-01-14 17:34:06 +00:00 (Migrated from github.com)

Due to memory constraints the decision was made to drop JSON support from DV2. The master does in fact handle the Json well. However those devices which include fastLEDs do not have sufficient memory available to reliably parse JSON.
As a result a new syntax for messages has been created using comma separated values to acheive a very similar result.
PJON master-slave auto addressing has also been re-implemented.

Due to memory constraints the decision was made to drop JSON support from DV2. The master does in fact handle the Json well. However those devices which include fastLEDs do not have sufficient memory available to reliably parse JSON. As a result a new syntax for messages has been created using comma separated values to acheive a very similar result. PJON master-slave auto addressing has also been re-implemented.
Riolaurenti commented 2019-01-28 21:35:55 +00:00 (Migrated from github.com)

#34 one more off the list

#34 one more off the list
Riolaurenti commented 2019-01-28 21:36:28 +00:00 (Migrated from github.com)

Pretty sure you can knock this one on the head no?

Pretty sure you can knock this one on the head no?
Squatnet commented 2019-02-10 16:46:49 +00:00 (Migrated from github.com)

yeah, complete with #49 and #50 which add returning arrays of ids and specifying the type as all to return all device types.

yeah, complete with #49 and #50 which add returning arrays of ids and specifying the type as all to return all device types.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
squatnet/ArduinoStuff#11
No description provided.