24.07.2020, 06:49
repeat is Lua keyword, you must escape it like this:
By default reply/repeat are disabled so the message will be sent once. It can be sent more than once if a collision is detected during transmission.
Code:
res, err = dalicmd('internal', 'raw', { data = data, ['repeat'] = true })