Граф коммитов

78 Коммитов

Автор SHA1 Сообщение Дата
Peli de Halleux 7793e2d14a guard onconnect 2021-05-11 09:31:56 -07:00
pelikhan 23d48e41eb consolidate default blocks 2021-05-11 09:20:05 -07:00
pelikhan 80a648b423 fix build 2021-05-07 07:28:26 -07:00
pelikhan db6700a48c support for reset_in 2021-05-06 22:35:59 -07:00
pelikhan 63bdd6b92c integrate settings server in makecode 2021-05-05 08:00:50 -07:00
pelikhan 2dd72f7c30 role manager: implement 3 double blinks 2021-05-04 14:37:16 -07:00
Michal Moskal fb9995b7fd Correct packetCount and add comment 2021-05-04 12:27:54 -07:00
pelikhan fc68b809c4 implement isClient + send client connected blink 2021-05-04 07:01:20 -07:00
pelikhan 17382e0689 implement isClient check 2021-05-04 06:28:27 -07:00
Peli de Halleux 8bd8f60cab support for connected events 2021-04-21 07:40:03 -07:00
Peli de Halleux a34e165e17 consistently use server notation 2021-04-21 07:09:39 -07:00
Michal Moskal f3da9cf7c2 Set new annouce flags 2021-04-20 13:38:56 -07:00
Peli de Halleux d4e24b1703 fix instance name support 2021-04-09 03:38:32 -07:00
pelikhan 5cc9ea3380 support for instance name in makecode 2021-04-09 03:24:03 -07:00
pelikhan f368a530b6 host -> server 2021-04-08 10:10:21 +02:00
Tom Ball f90852e5fd protext first access 2021-04-04 15:56:27 -07:00
Peli de Halleux 0fd1e6fced added identify animation 2021-03-26 04:32:14 -07:00
Michal Moskal b296d2fa4f Flood ping support 2021-03-25 08:32:56 -07:00
Peli de Halleux 6964b62414 don't do empty announces 2021-03-24 04:12:01 -07:00
Peli de Halleux bc0abba2f7 updated logging info 2021-03-24 04:07:23 -07:00
pelikhan 26eefc31f2 send uptime on connectin 2021-03-24 11:15:01 +01:00
pelikhan 6b338971e7 advertise empty services list in proxy mode 2021-03-24 09:35:43 +01:00
Michal Moskal 7f4f9f99c0 Always start phys layer in the same spot 2021-03-23 10:14:45 -07:00
Peli de Halleux c9052665df added checkproxy impl 2021-03-23 04:00:52 -07:00
peli 4f9592dba2 detect new role manager 2021-03-23 02:22:51 -07:00
Peli de Halleux 877cfe1c5e added a start proxy function, to turn device as a proxy without running main. 2021-03-23 02:10:48 -07:00
Peli de Halleux 978b48ade7 fix sensor streaming 2021-03-11 06:47:38 -08:00
pelikhan f9c62c333d revert jacdac.constants renaming 2021-03-07 11:38:49 +01:00
pelikhan fc95c48d6c moving constants from jacdac to jacdac.constants 2021-03-04 10:53:21 +01:00
Peli de Halleux bf75be7d2c call identify in tests 2021-02-25 12:41:03 +01:00
Michal Moskal f8ff0c00cb Handle mutli-cmd for multiple instances of service
see microsoft/jacdac#133
2021-02-12 11:52:52 -08:00
peli 62c629e3de JACDAC => Jacdac 2021-02-11 20:07:03 -08:00
peli 37d747bb55 auto-start jacdac 2021-02-11 19:41:57 -08:00
Peli de Halleux 9c5cb244f6
Hasvalues codegen update (#38)
* stack

* updated codegen
2021-02-11 11:45:38 -08:00
peli 4f9505a706 emitting booleans 2021-02-11 08:16:50 -08:00
peli 65e0c8f584 updated codegen with intensity/value support 2021-02-11 07:13:59 -08:00
Peli de Halleux c3b0113c91
use jdpack as much as possible (#35)
* use jdpack as much as possible

* updated brightness

* a few more cleanups
2021-02-11 07:56:46 +01:00
Michal Moskal f4ece60362 Rename requiredDevice to role everywhere 2021-02-09 18:59:06 -08:00
Michal Moskal 8843f081c3 Drop name from clients, only leave the role
fixes #31
2021-02-09 18:56:59 -08:00
Peli de Halleux c14b5f5afb Move autobind inside of rolemanager to allow emit "changed" event when bindings are modified. 2021-02-09 11:54:37 +01:00
Michał Moskal 70d9cea37a
feat: implement new role manager (#30)
* Start on v2 of role mgr

* Implement the new autobind

* Add missing file

* autobinder fixes

* Check CRCs in sim

* Packet spliting in sim

* fixes in packet splitting

* more testing and logging

* fixing autobinding

* Fix packet sizing

* alpha-sort for role names

* Update constants for role-mgr

* potentially log loopback packets

* Run auto-bind automatically

* Correct initial binding occupancy

* fix AllRolesAllocated

* Remove TODO
2021-02-06 01:53:55 +01:00
Michal Moskal b3c0b3f610 Renames: snake_case to camelCase
Also:
regIdentifier -> regCode
serviceNumber -> serviceIndex
2021-01-14 18:32:03 +01:00
Michał Moskal 25df95323b
implement triplicate events (#28)
* Basic support for sending new format events

* Add event triplicate queue

* Chasing SystemCmd.Event

* Re-generate constants files

* Add Client.systemActive

* Filter incoming events by eventCounter
2021-01-14 18:18:16 +01:00
Michal Moskal 7ccff12a7e Simplify handleStatusCode() 2021-01-13 14:39:23 +01:00
peli 0205d1ecaa update options logic 2020-12-17 04:58:33 -08:00
pelikhan d7e2e65de9 start role manager by default 2020-12-17 12:53:01 +01:00
pelikhan a69df6ca30 add function in modules 2020-12-16 23:13:20 +01:00
pelikhan 379dfa87ba more cleanup 2020-12-16 22:36:59 +01:00
pelikhan 6f89b5b815 clean out more code 2020-12-16 22:18:40 +01:00
pelikhan 81bd0f95a5 some cleanup 2020-12-16 22:11:38 +01:00