ArduSat API
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
OnboardCommLayer.h
Go to the documentation of this file.
1 /*
2 * @file nanosat_message.h
3 * @version 1.0
4 * @name NanoSatisfi Inc.
5 *
6 * @section LICENSE
7 *
8 * see LICENSE and NOTICE files.
9 *
10 * @section DESCRIPTION
11 * Message passing schema between OnboardCommLayer (I2C wrapper) and Payload
12 * supervisor. This interface exposes system calls to user space and sensor
13 * access. The main interaction players are Payload Supervisor(assv) and
14 * experiment nodes.
15 */
16 
17 
18 #ifndef ONBOARD_COMM_LAYER_H
19 #define ONBOARD_COMM_LAYER_H
20 
21 #include <Arduino.h>
22 #include <I2C_add.h>
23 #include <nanosat_message.h>
24 
26  private:
27  uint8_t assvAddress_;
28  uint8_t nodeAddress_;
29  public:
31  uint8_t sendMessage(nanosat_message_t msg);
32  uint8_t sendExit();
33 };
34 
35 #endif /* ONBOARD_COMM_LAYER_H */