Issues
- naming;
- addressing;
Characteristics
- asynchronous
- stateless
- big-endian
- application layer protocol
Messages
Generic
Message = {Source, Destination, Type, Data}
success
Type = success Data = {Request}
failure
Type = failure Data = {Request, Error}
Discovery
beacon
Type = beacon Data = {[Class, [Object, ...]]}
Data
sensor-data-query
Type = sensor-data-query Data = {Request, [Object, ...]}
sensor-data
Type = sensor-data Data = {Request, [{Timestamp, Validity, [{Object, Data}, ...]}, ...]}
sensor-data-monitor-create
Type = sensor-data-monitor-create Data = {Monitor, [Object, ...]}
- we could also add threshold, update count, validity;
sensor-data-monitor-destroy
Type = sensor-data-monitor-destroy Data = {Monitor}
Management
reset
Type = reset Data = {Request}
Miscellaneous
uuid-request
Type = uuid-request Data = {}
uuid-response
Type = uuid-response Data = {Uuid}