`functionFail := aduRequest[1] & 0x80` I think the corrcet answer `functionFail := aduRequest[1] | 0x80`