feat: added event and event handler

This commit is contained in:
2024-12-30 23:20:10 +01:00
parent 9ef53f4116
commit a4a8b6c3c1
4 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,14 @@
export const TtnMessageReceivedEventName = "TtnMessageReceived";
export type TtnMessageReceivedEvent = {
lp_ttn_end_device_uplinks_id: string;
wifis: {
mac: string;
rssi: number;
}[];
ttnGateways: {
rssi: number;
latitude: number;
longitude: number;
altitude: number;
}[];
};