Thank you so much for this!
For anyone wondering, the 6th flag is to toggle the lamps as following: 0 1 1 0 1 0
This code is given in the Encoding page.