Portisch / RF-Bridge-EFM8BB1

Alternative Firmware for the Sonoff RF Bridge EFM8BB1 chip
289 stars 122 forks source link

Adding a new protocol to the firmware #195

Closed StefanM99 closed 3 years ago

StefanM99 commented 3 years ago

Hi,

I want to add a new protocol for Retekess pagers.

Here is the sniffed data:

{"RfRaw":{"Data":"AA B1 04 0118 0230 0096 163A 3818181929292928181818181818181818192928181819281818 55"}}

I added to RF-Protocols.h:

    /*
     * Retekess TD158
     */
    {
        { &PROTOCOL_PULSES(TD158), ARRAY_LENGTH(PROTOCOL_PULSES(TD158)) },
        { &PROTOCOL_START(TD158), ARRAY_LENGTH(PROTOCOL_START(TD158)) },
        { &PROTOCOL_BIT0(TD158), ARRAY_LENGTH(PROTOCOL_BIT0(TD158)) },
        { &PROTOCOL_BIT1(TD158), ARRAY_LENGTH(PROTOCOL_BIT1(TD158)) },
        25,
        false

..now I try to compile a new firmware file and I do not really find any instructions on howto do that.

I downloaded Simplicity Studio and then I am stuck...

Can anybody help?

Thanks

StefanM99 commented 3 years ago

Solved the problem