[xgear] Fixed typo and event broadcasting
* compiles and runs
* protocol has to be still defined