Start: 10:15
- Still haven’t figured out why the arduino is having trouble receiving.
- Tested the method independently which recieves data and it seems to work as intended
- Copied all except the constructor from the PC version as this side is working properly
- A test of the Serial.available() method showed that it returns proper values but still stops at 127
- Tried reducing the packet size to 64 bytes.
- Its still getting stuck on receiving. If it got to processing it would send and update to the PC
- PC side seems to have no problem sending or receiving.
- I did a pass on Wednesday which worked. I don’t recall changing anything since then.
- Fixed a problem that sometimes the Arduino would initialize in a invalid state.
End: 6:15
Start: 8:00
- I didn’t spend too much time on it but I was able to get the arduino to receive properly. For whatever reason I had to put the message before the data. I am not sure why considering it worked fine the other way but at least its working.
- There are still a few things I need to do, I was not expecting to have to spend so much time solving this. The main thing is packaging it with the DataDictionary so you can use it easily without tons of code.
- The way it will work is you create the entries using the subscribe or publish methods, while doing this you determine if it is local. The easiest way I found to keep the datadictionary synced without having to use the set commands all the time, is to have a sync method in the post process which will set the variables to whatever their local container values are. Anything not owned by the class can be accessed directly through the dictionary, setting is only more complicated because we want to track if they change or not. Everything that is dirty and remote gets sent across the wire. Remote might not be the best word for this, so I am going to change the parameter to isShared.
End: 9:00
