Commit Graph

136 Commits

Author SHA1 Message Date
Sara Damiano
be81985c83 Many sub templates to inherit from! 2020-02-11 16:03:44 -05:00
Sara Damiano
41531c339b Reorder some functions 2020-02-11 11:08:03 -05:00
Sara Damiano
06c31aa856 Replace *most* toInt and toFloat's
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-07 17:42:02 -05:00
Sara Damiano
24a57d7fd3 Fixes around cmee
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-07 14:12:25 -05:00
Sara Damiano
944f651865 Changed some format penalties
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-07 13:18:36 -05:00
Sara Damiano
d3d1083d8f CRTP!!!! Totally untested
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-06 15:20:44 -05:00
Alexander Chernoskutov
587be978b6 remove vitrual dtors 2019-12-03 11:32:33 +05:00
Sara Damiano
c48969ac89 One character typo fix (dont't to don't..) 2019-09-18 14:56:02 -04:00
Sara Damiano
f339fe91f0 Fix last nagging compiler warnings 2019-09-11 15:15:17 -04:00
Sara Damiano
e99a33a673 If no saved IP, then can say we're not connected w/o command mode 2019-09-10 19:05:06 -04:00
Sara Damiano
fd523587a1 Still wrong, fixing 2019-09-10 18:31:46 -04:00
Sara Damiano
b5ac089604 That signal fix should have been for WIFI 2019-09-10 18:24:45 -04:00
Sara Damiano
bcc6eeb05c don't accept 0xFF as XBee Wifi strength 2019-09-10 18:09:09 -04:00
Sara Damiano
2992c0b973 Check for XBee IP in connection status 2019-09-10 11:19:33 -04:00
Sara Damiano
97edce96bd Try again to get stop right 2019-09-06 23:05:12 -04:00
Sara Damiano
4b736d8cc9 Fixed xbee wifi perpetual instant timeout 2019-09-06 22:17:37 -04:00
Sara Damiano
803e74b87b skip verification for wifi 2019-09-06 21:13:48 -04:00
Sara Damiano
b1040a9c59 extra mux warning 2019-09-06 20:35:30 -04:00
Sara Damiano
c02273ae75 Add XBee (wifi) voltage and remove connection indicator for wifi 2019-09-06 20:32:31 -04:00
Sara Damiano
7087a31e6e Leave airplane mode on in disconnect 2019-09-06 15:37:35 -04:00
Sara Damiano
21431da99b Check AI after XBee shutdown 2019-09-05 13:32:42 -04:00
Sara Damiano
6b0c51962e Implement XBee shutdown 2019-09-05 13:24:02 -04:00
Sara Damiano
a55dbaa7db Extra braces 2019-08-28 19:36:53 -04:00
Sara Damiano
bd14270277 Doing a better job of detecting XBee socket state 2019-08-28 16:29:08 -04:00
Sara Damiano
c4b67643ff renamed getHostIP to lookupHostIP 2019-08-28 16:16:28 -04:00
Sara Damiano
9ea8fd358c Not always resetting socket timeout on XBee 2019-08-28 16:15:09 -04:00
Sara Damiano
2092163a36 Check for non-empty pin 2019-08-28 13:04:44 -04:00
Sara Damiano
dac86a22cd Fix all Wextra warnings 2019-08-27 16:39:29 -04:00
Sara Damiano
1e15d1db6a Explicit destructors 2019-07-17 10:31:54 -04:00
Sara Damiano
2c33bc5055 Removed special characters from XBee names 2019-06-27 11:58:03 -04:00
Sara Damiano
86356f5323 Add stop with timeout and implement where applicable 2019-06-11 16:00:35 -04:00
Sara Damiano
17979905d2 Need to differentiate ip saved from a host by name and by direct ip 2019-05-30 17:16:43 -04:00
Sara Damiano
e7fc1b44eb Must writeChanges or the XBee can't connect! 2019-05-30 16:48:01 -04:00
Sara Damiano
015c2b4144 Extra yield in waitResponse 2019-05-30 15:50:24 -04:00
Sara Damiano
98bee318ad Correct SSL on XBee 2019-05-23 18:20:51 -04:00
Sara Damiano
880c4614e4 Added battery and temperature functions 2019-05-22 12:03:09 -04:00
Sara Damiano
09725ba8e6 Fixed upcase, other XBee fixes 2019-05-20 16:13:05 -04:00
Sara Damiano
19dd23882f Keep XBee from thinking no response means connected 2019-05-20 14:49:52 -04:00
Sara Damiano
e35e4afce0 Fix typos, tweak to timeout 2019-05-20 13:49:12 -04:00
Sara Damiano
7f7a7563cf Ensure that ALL variants of read respect timeout 2019-05-20 13:12:09 -04:00
Sara Damiano
2e03cdeaba Correct non-ssl connection 2019-05-20 10:37:30 -04:00
Sara Damiano
ff4fa1e042 Clarify units of timeouts 2019-05-20 10:24:27 -04:00
Sara Damiano
4ba8306880 Implement connect with timeout, XBee improvements 2019-05-20 09:21:08 -04:00
Sara Damiano
70ca06dc9d Moved begin above init, reset historic buffer sizes 2019-05-17 16:40:01 -04:00
Sara Damiano
5411535870 Fix XBee 2019-05-17 15:45:58 -04:00
Sara Damiano
9a3d408923 Moved modem functions to pre-processor macros 2019-05-17 13:53:38 -04:00
Sara Damiano
85d309621d Condensed client functions into pre-processor macros 2019-05-17 12:23:35 -04:00
Sara Damiano
de4162907d Added destructors 2019-05-16 12:15:48 -04:00
Sara Damiano
f2aca3b6b6 Removed parent class 2019-05-14 16:20:48 -04:00
Sara Damiano
eeffd92674 Another xbee function to check if we have ip saved 2019-05-13 18:01:40 -04:00