Commit Graph

182 Commits

Author SHA1 Message Date
4ec85231d5 CoapPacket (unit test)
- Added negative case for minimum packet size
2023-09-29 09:27:09 +02:00
1914f0741a CoapPacket
- Removed flase assertion
2023-09-29 09:16:53 +02:00
7b888d6b8f CoapPacket
- Added 2 byte option length decoding for 2 byte option delta mode
2023-09-29 09:16:27 +02:00
9b7859cd8f CoapPacket
- Added 1 byte option length for 2 byte option delta decoding
2023-09-29 09:14:14 +02:00
1500e44153 CoapPacket
- Added last few stubs for option length decoding
2023-09-29 09:13:05 +02:00
ca89119c13 CoapPacket
- Added 2-byte option length decoding for 1byte option delta encoding
2023-09-29 09:12:01 +02:00
8c2a4b3812 CoapPacket
- Added decoding of 1-byte option length for 1-byte delta option encoding
2023-09-29 09:10:32 +02:00
dd69be55ff CoapPacket
- Implemented 0-12 option length decoding for 1-byte option delta mode
2023-09-29 09:08:08 +02:00
16261dff24 CoapPacket
- Added some more stubs
2023-09-29 09:05:16 +02:00
63b1313dbc CoapPacket
- Added optionlength-14 support for 0-12 option delta mode
2023-09-29 09:01:40 +02:00
a2fff5b389 CoapPacket
- For delta values of 13, extract these option deltas
- Work-in-progress
2023-09-29 08:54:08 +02:00
1190199905 CoapClient
- Bumped `EXCHANGE_LIFETIME` to 5 seconds (for now)
2023-09-26 19:35:14 +02:00
481afbb194
Merge pull request #8 from deavmi/feature/exchange_lifetime
Implement EXCHANGE_LIFETIME for message ID generation
2023-09-26 19:33:32 +02:00
7071c9361f Merge branch 'master' into feature/exchange_lifetime 2023-09-26 19:30:19 +02:00
b4af82599b CoapClient
- Removed `watcherSignal` as unused
2023-09-26 19:29:11 +02:00
1ff0751900 CoapClient
- Removed old `rollingMid`
- Renamed mutex for `mids`
- Cleaned up imports
2023-09-26 19:27:53 +02:00
94b9c2d714 CoapClient
- Removed `newMid()`
2023-09-26 19:18:33 +02:00
4daf3daad0 CoapClient
- Cleaned up `newMid2()`
2023-09-26 19:17:20 +02:00
dc23fbd1a0 CoapClient (unit test)
- Set `EXCHANGE_LIFETIME` high enough to not reuse message IDs
2023-09-26 16:29:51 +02:00
5edfd4ae36 CoapClient (unittests)
- Unset for now
2023-09-26 15:09:44 +02:00
c2075dd604 CoapClient
- Added `setExchangeLifetime(Duration)`

CoapClient (unittests)

- Manually set the exchange lifetime
2023-09-26 15:09:30 +02:00
f878136746 Utils
- Removed duplicate test
2023-09-26 14:59:19 +02:00
506a9bb554 Merge branch 'master' into feature/exchange_lifetime 2023-09-26 14:59:00 +02:00
f36f39f2f4 Utils
- Backported from `feature/exchange_lifetime`
2023-09-26 14:53:28 +02:00
cfd9954ba8 Utils
- Fixed unit test for `flip!(T)(T)`
2023-09-26 14:52:50 +02:00
f01a3b8ab6 Utils
- Removed now-duplicate import
2023-09-26 14:49:30 +02:00
fd9b346be0 Utils
- Backported from `feature/exchange_lifetime`
2023-09-26 14:48:31 +02:00
0f6e88266b Utils
- Backported from `feature/exchange_lifetime`
2023-09-26 14:47:57 +02:00
d3ceb214fe Utils
- Backported from `feature/exchange_lifetime`
2023-09-26 14:47:15 +02:00
fed84ed876 Utils
- Added missing documentation
2023-09-26 14:46:35 +02:00
419f7017f8 Utils
- Cleaned up
2023-09-26 14:45:40 +02:00
7bdeab1107 Utils
- Added missing documentation
2023-09-26 14:42:39 +02:00
21cc370c14 Utils
- Added missing documentation
2023-09-26 14:42:09 +02:00
edbea382bd Utils
- Added a FIXME
2023-09-26 14:41:06 +02:00
e01081c59a Utils
- Documented method
2023-09-25 22:19:44 +02:00
a8e9debbb3 Utils
- Documented method
2023-09-25 22:18:51 +02:00
9fb143dfc9 Utils
- Added a unittest for `findNextFree!(T)(T[] values)`
2023-09-25 22:18:07 +02:00
1986202309 Utils
- Added a unittest for `isPresent!(T)(T[] values, T value)`
2023-09-25 22:16:38 +02:00
1408a5c202 CoapClient
- Tested
2023-09-25 22:11:20 +02:00
c2b5b64cda CoapClient
- Start the stopwatch
2023-09-25 22:02:50 +02:00
aadd9c320f CoapClient
- Set time to 10 milliseconds (for now)
2023-09-25 22:02:21 +02:00
3bb0b17353 CoapClient
- Switched to using `newMid2()` in `doRequest(CoapRequestBuilder)`
2023-09-25 21:57:16 +02:00
dd9f5c994f CoapClient
- Fixed bug whereby we didn't register the new found message id
2023-09-25 21:55:51 +02:00
f56210732b CoapClient
- Documented
- `newMid2()` now uses `findNextFree()`
2023-09-25 21:54:07 +02:00
5cd4cc9a2d Utils
- Added `fineNextFree`() and `isPresent()`
2023-09-25 21:53:57 +02:00
b160ce9e00 Merge branch 'master' into feature/exchange_lifetime 2023-09-25 21:43:48 +02:00
288b8eed92 - Moved utils module 2023-09-25 21:42:12 +02:00
41ef2a39cf CoapClient
- Added `EXCHANGE_LIFETIME` and made it very high for starters
2023-09-25 21:41:32 +02:00
ae97035035 CoapClient
- Made `newMid()` private and final
- Added documentation for `newMid()`
2023-09-25 21:19:56 +02:00
b985ad04d9
Merge pull request #7 from deavmi/bugfix/match_with_mid
Match on message ID
2023-09-25 20:13:54 +02:00