Defines | |
#define | RF_GROUP_DEFAULT 0 |
#define | RF_GROUP_CHAT 1 |
#define | RF_GROUP_CYLAND 2 |
#define | RF_GROUP_LABYRINTH 3 |
#define | RF_GROUP_SERVER 4 |
#define | RF_GROUP_FILES 5 |
#define | RF_GROUP_GAMES 6 |
#define | RF_GROUP_APPS 7 |
#define | RF_GROUP_OTHER 8 |
#define | RF_GROUP_SYSTEM 9 |
Functions | |
bool | get_communications (void) |
void | set_communications (bool enable) |
char | get_appchannel (void) |
char | get_appchannel_of (cyid_t device_id) |
void | set_appchannel (char rf_channel) |
char | set_best_appchannel (char group_id) |
char | get_groupchannel (char group_id, char channel) |
char | set_groupchannel (char group_id, char channel) |
char | get_group_size (char group) |
int | get_people_on_channel (char channel) |
cyid_t | get_people_around (cyid_t prev_device) |
void | update_people_around (clock_t timeout) |
bool | is_rf_paused (void) |
void | rf_pause (void) |
void | rf_resume (void) |
clock_t | last_rf_clock (void) |
time_t | last_rf_time (void) |
bool | set_critical_mode (bool set) |
bool | get_critical_mode (void) |
Some low level communication functions. Don't use these functions if you don't know exactly what are you doing.
|
Applications channel group. |
|
Chat channel group. |
|
CyLandia channel group. |
|
Default group for unknown applications. |
|
Files channel group. |
|
Games channel group. |
|
Labyrinth channel group. |
|
Reserved channel group. |
|
Server channel group. |
|
System channel group (for debugging purposes). |
|
Returns the current application's channel.
|
|
Returns the current application channel of the specified device.
|
|
Returns the communications state.
|
|
Returns the critical mode state.
|
|
Returns the number of channels in a specified group.
|
|
Returns the application channel, by channel group index.
|
|
Returns the CyID of the next device after prev_device (the CyIDs of people in the vicinity).
|
|
Returns the device count on the channel.
|
|
Returns TRUE if RF communications are paused.
|
|
Returns the clock_t value of the last sent or received frame except sent pings (last RF activity clock).
|
|
Returns the time the last frame was sent or received, except sent pings.
|
|
Pauses RF communications.
|
|
Resumes RF communications after a pause.
|
|
Sets current application channel.
|
|
Selects the application channel with the least traffic.
|
|
Enables or disables communications through RF.
|
|
Sets a special critical mode to disable network or internal task interrupts, such as invite.
|
|
Selects the application channel by channel group index.
|
|
Selects the base channel, waits the timeout, and resets the work channel.
|
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |