You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RF24Tun now handles ARP requests, and broacasts as required to find the
IP of related devices, using RF24Network multicast
- IP payloads are delivered according to MAC (RF24Network/RF24) address
- This allows multiple RF24Ethernet nodes to be connected entirely using
TCP/IP
bool ok = network.write(header,msg.getPayload(),msg.getLength());
182
-
179
+
180
+
uint8_t *tmp = msg.getPayload();
181
+
/*printf("********WRITING************\n");
182
+
for(int i=0; i<8; i++){
183
+
//std::cout << std::hex << buffer[i] <<std::endl;
184
+
//printf("%#x\n",(uint8_t)buffer[i]);
185
+
//uint32_t tmp2 = 0;
186
+
//tmp2 |= (uint32_t)tmp;
187
+
//printf("%01x\n",tmp2);
188
+
printf("0%#x\n",tmp[i]);
189
+
//tmp++;
190
+
}*/
191
+
192
+
tmp = msg.getPayload();
193
+
194
+
uint32_t RF24_STR = 0x34324652; //Identifies the mac as an RF24 mac
195
+
uint32_t ARP_BC = 0xFFFFFFFF; //Broadcast address
196
+
structmacStruct{
197
+
uint16_t rf24_Addr;
198
+
uint32_t rf24_Verification;
199
+
};
200
+
201
+
//struct serialip_state *s = &(uip_conn->appstate);//Creates a pointer to the application state of the current connection, which can be used to terminate it?
0 commit comments