ACU6 Device API
Macros | Enumerations | Functions
actia.h File Reference

Go to the source code of this file.

Macros

#define A_SERVICE_ID_DIGITAL_OUTPUTS
 Compat define for older SDK.
 
#define a_membersof(arr)
 Get the number of elements in an array. More...
 

Enumerations

enum  {
  A_SERVICE_ID_SYSTEM , A_SERVICE_ID_SOFTWARE_UPDATE , A_SERVICE_ID_LOG , A_SERVICE_ID_CELLULAR ,
  A_SERVICE_ID_LOCATION , A_SERVICE_ID_CAN , A_SERVICE_ID_IMU , A_SERVICE_ID_ANALOG_INPUTS ,
  A_SERVICE_ID_POWER , A_SERVICE_ID_WIFI , A_SERVICE_ID_DIGITAL_INPUT_OUTPUT , A_SERVICE_ID_BUB ,
  A_SERVICE_ID_RTC , A_SERVICE_ID_ETHERNET , A_SERVICE_ID_MQTT_HANDLER , A_SERVICE_ID_BTMGR ,
  A_SERVICE_ID_CONNECTIVITY
}
 IPC IDs of Actia services. More...
 

Functions

int a_timer_create (struct itimerspec ts)
 Create a timerfd with a given time specification. More...
 
void a_loop_add_fd (int epfd, int fd, uint32_t events)
 Add a file descriptor to an epoll file descriptor. More...
 
void a_loop_del_fd (int epfd, int fd)
 Remove a file descriptor from an epoll file descriptor. More...
 
void a_loop_mod_fd (int epfd, int fd, uint32_t events)
 Change the events listened for on a file descriptor added to epoll. More...
 
int a_open_software_update_stream (void)
 Open a stream for sending update packages to Software Update. More...