simple bacnet server with 1 AV
Is it the 00:50:db:00:d6:c2 inside the Ethernet II, Src: Contemporary_00:d6:c2 (00:50:db:00:d6:c2), Dst: Broadcast (ff:ff:ff:ff:ff:ff) that represents the source address or src?
Hi Steve, Could I ever get a tip for how to pass in a --mac address arg to the readprop app? In wireshark my 201201 device is this on an Iam response can a person get the MAC address from this? Frame 1: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) Ethernet II, Src: Contemporary_00:d6:c2 (00:50:db:00:d6:c2), Dst: Broadcast (ff:ff:ff:ff:ff:ff) Internet Protocol Version 4, Src: 192.168.0.190, Dst: 192.168.0.255 User Datagram Protocol, Src Port: 47808, Dst Port: 47808 BACnet Virtual Link...
Hi @skarg, Thanks for all the info and tips so far... when I use the bacnet-stack/apps/whois $ ./bacwi 201201 for a device on my test bench it returns: ;Device MAC (hex) SNET SADR (hex) APDU ;-------- -------------------- ----- -------------------- ---- 201201 C0:A8:00:BE:BA:C0 12345 02 286 ; ; Total Devices: 1 Would this MAC in hex be what would be required when using the apps/readprop when using the arg -dnet to perform a read request using a the MAC address of the device? Any chance could you...
Hi Steve, On a My_Read_Property_Ack_Handler is it possible to return the processed/formatted data Vs just print it? static void My_Read_Property_Ack_Handler(uint8_t *service_request, uint16_t service_len, BACNET_ADDRESS *src, BACNET_CONFIRMED_SERVICE_ACK_DATA *service_data) { int len = 0; BACNET_READ_PROPERTY_DATA data; if (address_match(&Target_Address, src) && (service_data->invoke_id == Request_Invoke_ID)) { len = rp_ack_decode_service_request(service_request, service_len, &data); if (len < 0)...
Hi Steve, When you send out a who_is can you print/debug the response? IE., Send_WhoIs( Target_Device_Object_Instance, Target_Device_Object_Instance); } I am working with a function like this below for learning purposes... where in Wireshark I can see the request was successful which confirms its working, and I was just curious to see if there is an easy way to print the MAC address or processed contents of the i_am request from the device? Or would I need create my own handler for this and loop...
Hi Steve, When you send out a who_is can you print/debug the response? IE., ```Send_WhoIs( Target_Device_Object_Instance, Target_Device_Object_Instance); } I am working with a function like this below for learning purposes... where in Wireshark I can see the request was successful which confirms its working, and I was just curious to see if there is an easy way to print the MAC address or processed contents of the `i_am` request from the device? Or would I need create my own handler for this and...
make simple read request app