Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:timingunits:tcpimporter [2024/08/09 11:42] – henrik | software:timingunits:tcpimporter [2024/10/02 07:47] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | === Generic TCP importer === | + | {{indexmenu_n> |
+ | |||
+ | ====== Generic TCP importer | ||
Using a very simple text-based TCP protocol, you can have your own devices or integration component connect into BBT, and import raw time records this way, just like any natively supported box. | Using a very simple text-based TCP protocol, you can have your own devices or integration component connect into BBT, and import raw time records this way, just like any natively supported box. | ||
Line 5: | Line 7: | ||
You can connect as many devices as you like, with each connection representing a device with an identifier of your choice. | You can connect as many devices as you like, with each connection representing a device with an identifier of your choice. | ||
The default port is 12368, but this can be changed via the advanced event setting // | The default port is 12368, but this can be changed via the advanced event setting // | ||
+ | |||
+ | {{: | ||
== Protocol format == | == Protocol format == | ||
Line 38: | Line 42: | ||
record.add; | record.add; | ||
- | Records can be updated using the record.update command. The arguments are the exact same as for record.add, but id is optional. | + | Records can be updated using the record.update command. The arguments are the exact same as for record.add, but id is required. |
If a record with the provided id does not exist, it might be created. | If a record with the provided id does not exist, it might be created. | ||
+ | |||
+ | == Device status == | ||
+ | It is possible to send periodic device status information, | ||
+ | |||
+ | Example command:\\ | ||
+ | status; | ||
+ | |||
+ | Responses: | ||
+ | record.status; | ||
+ | |||
== Inactivity == | == Inactivity == | ||
Line 50: | Line 64: | ||
Response:\\ | Response:\\ | ||
ping;ok | ping;ok | ||
+ |