Erm. Do not panic instantly after power on :-)
This commit is contained in:
parent
99a17a36aa
commit
14c31ed175
|
@ -45,6 +45,8 @@ int mesh_sanity(uint8_t * pkt){
|
||||||
return MP_SEND;
|
return MP_SEND;
|
||||||
if(MO_TYPE(pkt)=='T' && MO_BODY(pkt)[5])
|
if(MO_TYPE(pkt)=='T' && MO_BODY(pkt)[5])
|
||||||
return MP_SEND;
|
return MP_SEND;
|
||||||
|
if(MO_TYPE(pkt)=='T' && MO_TIME(pkt)<86400)
|
||||||
|
return MP_OK;
|
||||||
if(MO_TYPE(pkt)>='A' && MO_TYPE(pkt)<='Z'){
|
if(MO_TYPE(pkt)>='A' && MO_TYPE(pkt)<='Z'){
|
||||||
if(MO_TIME(pkt)>1326409200)
|
if(MO_TIME(pkt)>1326409200)
|
||||||
return MP_SEND;
|
return MP_SEND;
|
||||||
|
|
Loading…
Reference in New Issue