update rftest-rx to use new maca.
This commit is contained in:
parent
0dac24e1eb
commit
c218d1bffa
4 changed files with 33 additions and 147 deletions
16
tests/per.c
16
tests/per.c
|
@ -69,22 +69,6 @@ void session_req(short_addr_t addr) {
|
|||
return;
|
||||
}
|
||||
|
||||
void print_packet(packet_t *p) {
|
||||
volatile uint8_t i,j,k;
|
||||
#define PER_ROW 16
|
||||
if(p) {
|
||||
printf("len 0x%02x\n\r",p->length);
|
||||
for(j=0, k=0; j < ((p->length)%PER_ROW)-1; j++) {
|
||||
for(i=0; i < PER_ROW; i++, k++) {
|
||||
if(k>=p->length) { break; }
|
||||
printf("%02x ",p->data[j*PER_ROW+i]);
|
||||
}
|
||||
printf("\n\r");
|
||||
}
|
||||
printf("\n\r");
|
||||
}
|
||||
return;
|
||||
}
|
||||
session_id_t open_session(short_addr_t addr) { return 0; }
|
||||
|
||||
void main(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue