Dear @Krystian_Szymanski , please have a look to this post:
You'll find therein a couple of codes (app and ino) that were working for me. Probably they can help.