From d2e42029ec04c3f224580f8007cdfbbfe0fc47a6 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Fri, 26 May 2017 18:45:56 +0200 Subject: Initial Commit --- ...__n_e_t_gaf195e8ae396bc1fc358666fe50bf3f51.html | 195 +++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 ucs2-lib/doc/html/group___g___u_c_s___n_e_t_gaf195e8ae396bc1fc358666fe50bf3f51.html (limited to 'ucs2-lib/doc/html/group___g___u_c_s___n_e_t_gaf195e8ae396bc1fc358666fe50bf3f51.html') diff --git a/ucs2-lib/doc/html/group___g___u_c_s___n_e_t_gaf195e8ae396bc1fc358666fe50bf3f51.html b/ucs2-lib/doc/html/group___g___u_c_s___n_e_t_gaf195e8ae396bc1fc358666fe50bf3f51.html new file mode 100644 index 0000000..b6cbfe0 --- /dev/null +++ b/ucs2-lib/doc/html/group___g___u_c_s___n_e_t_gaf195e8ae396bc1fc358666fe50bf3f51.html @@ -0,0 +1,195 @@ + + + + + +UNICENS: Ucs_Network_StatusCb_t + + + + + + + + + + + + + + + +
+
+
+ + + + + + + +
Logo +
UNICENS V2.1.0-3491
+
User Manual and API Reference
+ +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
+ + + + +
typedef void(* Ucs_Network_StatusCb_t)(uint16_t change_mask, uint16_t events, Ucs_Network_Availability_t availability, Ucs_Network_AvailInfo_t avail_info, Ucs_Network_AvailTransCause_t avail_trans_cause, uint16_t node_address, uint8_t node_position, uint8_t max_position, uint16_t packet_bw, void *user_ptr)
+
+ +

Function signature used for the Network Status callback function.

+ + + +
 The arguments of the result callback function correspond with the INIC's result for the function INIC.MOSTNetworkStatus.
+
Parameters
+ + + + + + + + + + + +
change_maskIndicates which parameters have been changed since the last function call. If a bit is set the corresponding parameter has been changed since the last update. + + + + + + + + + + + + + + + + + + +
Bit Index Value (Hex) Parameter
0 0x01 events
1 0x02 availability
2 0x04 avail_info
3 0x08 avail_trans_cause
4 0x10 node_address
5 0x20 node_position
6 0x40 max_position
7 0x80 packet_bw
+
eventsThe occurred network events. Events are only indicated once they occurred. I.e., the value is not handled as a continuous state. You can use the bitmask UCS_NETWORK_EVENT_NCE to identify received events. + + +
 Events
+
availabilityThe network availability. + + +
 Availability
+
avail_infoThe availability information. + + +
 AvailabilityInfo
+
avail_trans_causeThe availability transition cause. + + +
 AvailabilityTransitionCause
+
node_addressThe current node address. + + +
 NodeAddress
+
node_positionThe current node position. + + +
 NodePosition
+
max_positionThe number of available nodes. + + +
 MaxPosition
+
packet_bwThe packet bandwidth. + + +
 PacketBW
+
user_ptrUser reference provided in Ucs_InitData_t::user_ptr
+
+
+ +
+
+
+
+ + + + + + -- cgit 1.2.3-korg