Skip to content

Create a PatientLocation Packet #174

@jhhocs

Description

@jhhocs

Task Description

Implement a (Current)PatientLocation command object. Details about the packet structure can be found here

Please test the encode and decode functions. An example test script can be found here

The decode_packet function should be able to return data in tuple (default) and JSON format.

Required functions:

encode_packet()
decode_packet(encoded_string, format="tuple")

Note

There is a chance that this object (and all other commands) will need to include some sort of packetID to identify specific command packets that are sent. For example, if two commands are sent, we need to know exactly which one the vehicle is responding to.

Checklist

  • encode_packet()
  • decode_packet()
  • In code documentation (examples can be found in existing command objects)
  • Testing

Resources

Metadata

Metadata

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions