Summary
I am using an MT4000 telemetry device to broadcast data over port 30000, then a python udp listener to receive this data and insert it into a database. A PHP page then reads that data and displays the data, in JSON format currently.
The Goal
I would like to add a feature on the web page to allow the user to select which device they are seeing data from, as a filter.
The Method
I want to use python to programmatically extract the devices IMEI number, a way of uniquely identifying the device. I know the IMEI is located in each packet sent, and is a 15 digit number.
The Solution
What is the theory behind adding the filter to the page. If you want to down-vote (or even not), please leave a reason, so I can improve my question writing. Thanks.