Update of /cvsroot/firebug/fireboard/beta/tools/src/xlisten/boards
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25493/boards
Modified Files:
LinkEstimatorMsg.c SurgeMsg.c linkmsg.c sirf_id28_1.c
sirf_id28_2.c sirf_id28_3.c sirf_id2_1.c sirf_id2_2.c
Log Message:
Link estimate offset added.
Index: SurgeMsg.c
===================================================================
RCS file: /cvsroot/firebug/fireboard/beta/tools/src/xlisten/boards/SurgeMsg.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SurgeMsg.c 8 Aug 2005 20:15:49 -0000 1.2
--- SurgeMsg.c 9 Aug 2005 00:39:08 -0000 1.3
***************
*** 56,60 ****
uint16_t reading;
uint16_t parentaddr;
! uint32_t seq_no;
};
--- 56,60 ----
uint16_t reading;
uint16_t parentaddr;
! uint16_t seq_no;
};
***************
*** 92,100 ****
void
! SurgeMsgP_set_seq_no(SurgeMsgP * userdata, uint32_t seq_no) {
userdata->seq_no = seq_no;
}
! uint32_t
SurgeMsgP_get_seq_no(SurgeMsgP * userdata) {
return userdata->seq_no;
--- 92,100 ----
void
! SurgeMsgP_set_seq_no(SurgeMsgP * userdata, uint16_t seq_no) {
userdata->seq_no = seq_no;
}
! uint16_t
SurgeMsgP_get_seq_no(SurgeMsgP * userdata) {
return userdata->seq_no;
***************
*** 164,169 ****
* User is responsible for "cooking" the data.
*/
! static uint32_t
! seq_no_convert(uint32_t seq_no) {
return seq_no;
}
--- 164,169 ----
* User is responsible for "cooking" the data.
*/
! static uint16_t
! seq_no_convert(uint16_t seq_no) {
return seq_no;
}
***************
*** 232,236 ****
#endif
/** The default size of this message type in bytes. */
! //static int DEFAULT_MESSAGE_SIZE = 10;
/** If incomplete types are used, we need to provide a way
--- 232,236 ----
#endif
/** The default size of this message type in bytes. */
! //static int DEFAULT_MESSAGE_SIZE = 8;
/** If incomplete types are used, we need to provide a way
Index: LinkEstimatorMsg.c
===================================================================
RCS file: /cvsroot/firebug/fireboard/beta/tools/src/xlisten/boards/LinkEstimatorMsg.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** LinkEstimatorMsg.c 8 Aug 2005 20:15:48 -0000 1.2
--- LinkEstimatorMsg.c 9 Aug 2005 00:39:08 -0000 1.3
***************
*** 53,62 ****
struct _LinkEstimatorMsgP {
! uint32_t seqno;
uint16_t source;
uint16_t dest;
uint16_t RSSI;
uint16_t LQI;
! uint32_t source_seqno;
};
--- 53,62 ----
struct _LinkEstimatorMsgP {
! uint16_t seqno;
uint16_t source;
uint16_t dest;
uint16_t RSSI;
uint16_t LQI;
! uint16_t source_seqno;
};
***************
*** 64,72 ****
void
! LinkEstimatorMsgP_set_seqno(LinkEstimatorMsgP * userdata, uint32_t seqno) {
userdata->seqno = seqno;
}
! uint32_t
LinkEstimatorMsgP_get_seqno(LinkEstimatorMsgP * userdata) {
return userdata->seqno;
--- 64,72 ----
void
! LinkEstimatorMsgP_set_seqno(LinkEstimatorMsgP * userdata, uint16_t seqno) {
userdata->seqno = seqno;
}
! uint16_t
LinkEstimatorMsgP_get_seqno(LinkEstimatorMsgP * userdata) {
return userdata->seqno;
***************
*** 114,122 ****
void
! LinkEstimatorMsgP_set_source_seqno(LinkEstimatorMsgP * userdata, uint32_t source_seqno) {
userdata->source_seqno = source_seqno;
}
! uint32_t
LinkEstimatorMsgP_get_source_seqno(LinkEstimatorMsgP * userdata) {
return userdata->source_seqno;
--- 114,122 ----
void
! LinkEstimatorMsgP_set_source_seqno(LinkEstimatorMsgP * userdata, uint16_t source_seqno) {
userdata->source_seqno = source_seqno;
}
! uint16_t
LinkEstimatorMsgP_get_source_seqno(LinkEstimatorMsgP * userdata) {
return userdata->source_seqno;
***************
*** 166,171 ****
* User is responsible for "cooking" the data.
*/
! static uint32_t
! seqno_convert(uint32_t seqno) {
return seqno;
}
--- 166,171 ----
* User is responsible for "cooking" the data.
*/
! static uint16_t
! seqno_convert(uint16_t seqno) {
return seqno;
}
***************
*** 206,211 ****
* User is responsible for "cooking" the data.
*/
! static uint32_t
! source_seqno_convert(uint32_t source_seqno) {
return source_seqno;
}
--- 206,211 ----
* User is responsible for "cooking" the data.
*/
! static uint16_t
! source_seqno_convert(uint16_t source_seqno) {
return source_seqno;
}
***************
*** 278,282 ****
#endif
/** The default size of this message type in bytes. */
! //static int DEFAULT_MESSAGE_SIZE = 16;
/** If incomplete types are used, we need to provide a way
--- 278,282 ----
#endif
/** The default size of this message type in bytes. */
! //static int DEFAULT_MESSAGE_SIZE = 12;
/** If incomplete types are used, we need to provide a way
|