Skip to content

Commit fbcc98b

Browse files
committed
sm_clib 1.0.1.4
1 parent ac8c011 commit fbcc98b

File tree

3 files changed

+9
-32
lines changed

3 files changed

+9
-32
lines changed

sm_clib/dn_clib_build.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/*
2-
* DO NOT EDIT! Automatically generated by SCons.
3-
*/
4-
5-
enum {
6-
// This is the build number used on the next release.
7-
VER_BUILD = 3
8-
};
1+
/*
2+
* DO NOT EDIT! Automatically generated by SCons.
3+
*/
4+
5+
enum {
6+
// This is the build number used on the next release.
7+
VER_BUILD = 4
8+
};

sm_clib/dn_ipmg.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3170,9 +3170,6 @@ void dn_ipmg_getNetworkInfo_reply(uint8_t cmdId, uint8_t rc, uint8_t* payload, u
31703170
dn_read_uint32_t(&reply->netLatency,&payload[DN_GETNETWORKINFO_REPLY_OFFS_NETLATENCY]);
31713171
reply->netState = payload[DN_GETNETWORKINFO_REPLY_OFFS_NETSTATE];
31723172
memcpy(&reply->ipv6Address[0],&payload[DN_GETNETWORKINFO_REPLY_OFFS_IPV6ADDRESS],16);
3173-
dn_read_uint32_t(&reply->numLostPackets,&payload[DN_GETNETWORKINFO_REPLY_OFFS_NUMLOSTPACKETS]);
3174-
memcpy(&reply->numArrivedPackets[0],&payload[DN_GETNETWORKINFO_REPLY_OFFS_NUMARRIVEDPACKETS],8);
3175-
reply->maxNumbHops = payload[DN_GETNETWORKINFO_REPLY_OFFS_MAXNUMBHOPS];
31763173
}
31773174

31783175
// call the callback

sm_clib/dn_ipmg.h

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -90,20 +90,6 @@ C library to connect to a SmartMesh IP Manager.
9090

9191
//===== format of requests
9292

93-
// mux_hello
94-
#define DN_MUX_HELLO_REQ_OFFS_VERSION 0
95-
#define DN_MUX_HELLO_REQ_OFFS_SECRET 1
96-
#define DN_MUX_HELLO_REQ_LEN 9
97-
98-
// hello
99-
#define DN_HELLO_REQ_OFFS_VERSION 0
100-
#define DN_HELLO_REQ_OFFS_CLISEQNO 1
101-
#define DN_HELLO_REQ_OFFS_MODE 2
102-
#define DN_HELLO_REQ_LEN 3
103-
104-
// hello_response
105-
#define DN_HELLO_RESPONSE_REQ_LEN 0
106-
10793
// reset
10894
#define DN_RESET_REQ_OFFS_TYPE 0
10995
#define DN_RESET_REQ_OFFS_MACADDRESS 1
@@ -504,10 +490,7 @@ C library to connect to a SmartMesh IP Manager.
504490
#define DN_GETNETWORKINFO_REPLY_OFFS_NETLATENCY 8
505491
#define DN_GETNETWORKINFO_REPLY_OFFS_NETSTATE 12
506492
#define DN_GETNETWORKINFO_REPLY_OFFS_IPV6ADDRESS 13
507-
#define DN_GETNETWORKINFO_REPLY_OFFS_NUMLOSTPACKETS 29
508-
#define DN_GETNETWORKINFO_REPLY_OFFS_NUMARRIVEDPACKETS 33
509-
#define DN_GETNETWORKINFO_REPLY_OFFS_MAXNUMBHOPS 41
510-
#define DN_GETNETWORKINFO_REPLY_LEN 42
493+
#define DN_GETNETWORKINFO_REPLY_LEN 29
511494

512495
// getMoteConfigById
513496
#define DN_GETMOTECONFIGBYID_REPLY_OFFS_MACADDRESS 0
@@ -912,9 +895,6 @@ typedef struct {
912895
uint32_t netLatency;
913896
uint8_t netState;
914897
uint8_t ipv6Address[16];
915-
uint32_t numLostPackets;
916-
uint8_t numArrivedPackets[8];
917-
uint8_t maxNumbHops;
918898
} dn_ipmg_getNetworkInfo_rpt;
919899

920900
typedef struct {

0 commit comments

Comments
 (0)