Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generic int16_t fields to radio packet data structure #1

Closed
2 tasks done
jgc opened this issue Sep 23, 2015 · 1 comment
Closed
2 tasks done

Add generic int16_t fields to radio packet data structure #1

jgc opened this issue Sep 23, 2015 · 1 comment
Assignees
Milestone

Comments

@jgc
Copy link
Owner

jgc commented Sep 23, 2015

  • Add 3 generic int16_1 fields to the radio packet structure to support e.g. current temp, max and min
  • Adding 4th to handle e.g. light sensor and / or motion sensor in same transmission.

jgc/falco_sw_photon#1

@jgc jgc self-assigned this Sep 23, 2015
@jgc jgc added this to the Version 1 milestone Sep 23, 2015
@jgc jgc added the Linked label Sep 23, 2015
@jgc jgc changed the title Store maximum and minimum values and add to radio message Add generic int16_t fields to radio packet data structure Oct 1, 2015
@jgc
Copy link
Owner Author

jgc commented Oct 1, 2015

typedef struct {
uint8_t node;
uint8_t tran;
int16_t batt; // battery voltage in millivolts
int16_t value1; // Generic e.g. Current temperature in dec * 100
int16_t value2; // Generic e.g. Minimum temperature in dec * 100
int16_t value3; // Generic e.g. Maximum temperature in dec * 100
int16_t value4; // Generic
} Payload;
Payload theData;

TBC: LImit is 12 bytes

@jgc jgc closed this as completed Oct 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant