JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Help with LIRC codes for Airtel

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> Non-JP1
View previous topic :: View next topic  
Author Message
kusaini



Joined: 29 Nov 2013
Posts: 5

                    
PostPosted: Fri Nov 29, 2013 1:09 am    Post subject: Help with LIRC codes for Airtel Reply with quote

Greetings!

I am struggling to find LIRC code with a STB (it is manufactured by Technicolor) in India it is sold by Airtel Digital.

I am able to generate LIRC partially only buttons 0,2, 8 and Channel up is working with following code, not able to find rest codes,

begin remote
name airtel
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100

header 397 298
one 126 652
zero 126 363
ptrail 127
gap 89430
# toggle_bit_mask 0x0
toggle_bit 5
frequency 38000

begin codes
KEY_UP 0x70F4
KEY_OK 0x70F6
KEY_0 0x70F0
KEY_2 0x70D1
KEY_8 0x70E1
KEY_9 0x70E8
KEY_YELLOW 0x7078

end codes


end remote

Please let me know if you have any directions to get remaining keys.

Thanks you
Back to top
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Fri Nov 29, 2013 8:52 am    Post subject: Reply with quote

Hi kusani,

This airtel/technicolor protocol is unrecognized. I do not believe we've seen a 16 bit toggling protocol like this before.

I looked at the various codes you have captured, and they do not have a pattern that I can see.

The best I can come up with is to suggest experimenting.

All the examples you provided have the first 10bits static, so I'd try
0x70C0 ..0x70FF
first.
Back to top
View user's profile Send private message Visit poster's website
kusaini



Joined: 29 Nov 2013
Posts: 5

                    
PostPosted: Fri Nov 29, 2013 11:42 am    Post subject: Reply with quote

Thanks Vicky for reply!

I tried all combinations starting with x70 and even with x80 etc, i found couple of codes but they are either key_2, key_up or key_8 in some cases i got battery low indicator also.

here are raw code for key menu, it works sometime and sometimes does not

name key_menu
483 209 218 227 208 587
186 424 187 625 146 245
203 232 213 242 200 228
214 577 197 577 196 416
191 724 282 331 208 397
210 399 251 183 222

name key_up
464 214 271 171 250 530
238 370 238 535 235 200
243 202 238 204 236 208
236 208 230 531 242 354
244 720 221 220 224 518
257 219 224 220 223

name key_down
502 203 247 191 253 530
240 375 235 537 234 198
244 201 240 204 234 210
234 522 245 524 248 383
220 717 221 223 224 521
252 238 205 365 243

One more thing i have two STB of airtel another one is manufactured by Kaon Media i tried all configs from http://lirc.sourceforge.net/remotes/kaon/, neither worked Sad

even IRRECORD gets failed in 9 out of 10 cases and complains unknown encoding with RC-6 type.
One more thing even if i comment # toggle_bit 5
It still keep on working but bit weirdly!

Please give me some direction what i can try further,

thanks kuldip
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Fri Nov 29, 2013 11:55 am    Post subject: Reply with quote

IrScrutinizer decodes the signals as Nokia32, D=106, S=85, F varying, X varying, T varying. Although I would not bet too much about the "decomposition" of the "payload" int the different parameters, we have a starting point.

(Just mark "begin remote" to "end remote" in the browser and copy to the clipboard, go to Import->LIRC in IrScrutinizer, press "Load from clipboard". Then press (e.g.) "Import all" to transfer to the table for parametrized signals.)

Below are the results, as "Girr".

I could not find any references to the device, you have to carry out some research here. Or you can capture the remote with another thing?

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="simplehtml.xsl"?><!--This file is in the Girr (General IR Remote) format, see http://www.harctoolbox.org/girr--><remotes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" girrVersion="1.0" title="IrScrutinizer parametric export" xsi:noNamespaceSchemaLocation="girr.xsd">
    <adminData>
        <creationData creatingUser="bengt" creationDate="2013-11-29_17:18:07" source="IrScrutinizer parametrized table" tool="IrScrutinizer" tool2="DecodeIR" tool2Version="2.44" toolVersion="0.1.1"/>
    </adminData>
    <remote comment="Export from IrScrutinizer" name="unnamedRemote">
        <commandSet>
            <command master="parameters" name="KEY_UP">
                <parameters protocol="Nokia32">
                    <parameter name="D" value="106"/>
                    <parameter name="S" value="85"/>
                    <parameter name="F" value="101"/>
                    <parameter name="T" value="1"/>
                    <parameter name="X" value="42"/>
                </parameters>
                <raw frequency="36000">
                    <repeat>+412 -276 +164 -445 +164 -614 +164 -614 +164 -614 +164 -445 +164 -445 +164 -445 +164 -445 +164 -614 +164 -614 +164 -614 +164 -614 +164 -445 +164 -614 +164 -445 +164 -445 +164 -88052</repeat>
                </raw>
                <ccf>0000 0073 0000 0012 000F 000A 0006 0010 0006 0016 0006 0016 0006 0016 0006 0010 0006 0010 0006 0010 0006 0010 0006 0016 0006 0016 0006 0016 0006 0016 0006 0010 0006 0016 0006 0010 0006 0010 0006 0C62</ccf>
            </command>
            <command master="parameters" name="KEY_OK">
                <parameters protocol="Nokia32">
                    <parameter name="D" value="106"/>
                    <parameter name="S" value="85"/>
                    <parameter name="F" value="105"/>
                    <parameter name="T" value="1"/>
                    <parameter name="X" value="42"/>
                </parameters>
                <raw frequency="36000">
                    <repeat>+412 -276 +164 -445 +164 -614 +164 -614 +164 -614 +164 -445 +164 -445 +164 -445 +164 -445 +164 -614 +164 -614 +164 -614 +164 -614 +164 -445 +164 -614 +164 -614 +164 -445 +164 -87883</repeat>
                </raw>
                <ccf>0000 0073 0000 0012 000F 000A 0006 0010 0006 0016 0006 0016 0006 0016 0006 0010 0006 0010 0006 0010 0006 0010 0006 0016 0006 0016 0006 0016 0006 0016 0006 0010 0006 0016 0006 0016 0006 0010 0006 0C5C</ccf>
            </command>
            <command master="parameters" name="KEY_0">
                <parameters protocol="Nokia32">
                    <parameter name="D" value="106"/>
                    <parameter name="S" value="85"/>
                    <parameter name="F" value="85"/>
                    <parameter name="T" value="1"/>
                    <parameter name="X" value="42"/>
                </parameters>
                <raw frequency="36000">
                    <repeat>+412 -276 +164 -445 +164 -614 +164 -614 +164 -614 +164 -445 +164 -445 +164 -445 +164 -445 +164 -614 +164 -614 +164 -614 +164 -614 +164 -445 +164 -445 +164 -445 +164 -445 +164 -88221</repeat>
                </raw>
                <ccf>0000 0073 0000 0012 000F 000A 0006 0010 0006 0016 0006 0016 0006 0016 0006 0010 0006 0010 0006 0010 0006 0010 0006 0016 0006 0016 0006 0016 0006 0016 0006 0010 0006 0010 0006 0010 0006 0010 0006 0C68</ccf>
            </command>
            <command master="parameters" name="KEY_2">
                <parameters protocol="Nokia32">
                    <parameter name="D" value="106"/>
                    <parameter name="S" value="85"/>
                    <parameter name="F" value="86"/>
                    <parameter name="T" value="1"/>
                    <parameter name="X" value="38"/>
                </parameters>
                <raw frequency="36000">
                    <repeat>+412 -276 +164 -445 +164 -614 +164 -614 +164 -614 +164 -445 +164 -445 +164 -445 +164 -445 +164 -614 +164 -614 +164 -445 +164 -614 +164 -445 +164 -445 +164 -445 +164 -614 +164 -88221</repeat>
                </raw>
                <ccf>0000 0073 0000 0012 000F 000A 0006 0010 0006 0016 0006 0016 0006 0016 0006 0010 0006 0010 0006 0010 0006 0010 0006 0016 0006 0016 0006 0010 0006 0016 0006 0010 0006 0010 0006 0010 0006 0016 0006 0C68</ccf>
            </command>
            <command master="parameters" name="KEY_8">
                <parameters protocol="Nokia32">
                    <parameter name="D" value="106"/>
                    <parameter name="S" value="85"/>
                    <parameter name="F" value="86"/>
                    <parameter name="T" value="1"/>
                    <parameter name="X" value="41"/>
                </parameters>
                <raw frequency="36000">
                    <repeat>+412 -276 +164 -445 +164 -614 +164 -614 +164 -614 +164 -445 +164 -445 +164 -445 +164 -445 +164 -614 +164 -614 +164 -614 +164 -445 +164 -445 +164 -445 +164 -445 +164 -614 +164 -88221</repeat>
                </raw>
                <ccf>0000 0073 0000 0012 000F 000A 0006 0010 0006 0016 0006 0016 0006 0016 0006 0010 0006 0010 0006 0010 0006 0010 0006 0016 0006 0016 0006 0016 0006 0010 0006 0010 0006 0010 0006 0010 0006 0016 0006 0C68</ccf>
            </command>
            <command master="parameters" name="KEY_9">
                <parameters protocol="Nokia32">
                    <parameter name="D" value="106"/>
                    <parameter name="S" value="85"/>
                    <parameter name="F" value="149"/>
                    <parameter name="T" value="1"/>
                    <parameter name="X" value="41"/>
                </parameters>
                <raw frequency="36000">
                    <repeat>+412 -276 +164 -445 +164 -614 +164 -614 +164 -614 +164 -445 +164 -445 +164 -445 +164 -445 +164 -614 +164 -614 +164 -614 +164 -445 +164 -614 +164 -445 +164 -445 +164 -445 +164 -88221</repeat>
                </raw>
                <ccf>0000 0073 0000 0012 000F 000A 0006 0010 0006 0016 0006 0016 0006 0016 0006 0010 0006 0010 0006 0010 0006 0010 0006 0016 0006 0016 0006 0016 0006 0010 0006 0016 0006 0010 0006 0010 0006 0010 0006 0C68</ccf>
            </command>
            <command master="parameters" name="KEY_YELLOW">
                <parameters protocol="Nokia32">
                    <parameter name="D" value="106"/>
                    <parameter name="S" value="85"/>
                    <parameter name="F" value="149"/>
                    <parameter name="T" value="0"/>
                    <parameter name="X" value="106"/>
                </parameters>
                <raw frequency="36000">
                    <repeat>+412 -276 +164 -445 +164 -614 +164 -614 +164 -614 +164 -445 +164 -445 +164 -445 +164 -445 +164 -445 +164 -614 +164 -614 +164 -614 +164 -614 +164 -445 +164 -445 +164 -445 +164 -88221</repeat>
                </raw>
                <ccf>0000 0073 0000 0012 000F 000A 0006 0010 0006 0016 0006 0016 0006 0016 0006 0010 0006 0010 0006 0010 0006 0010 0006 0010 0006 0016 0006 0016 0006 0016 0006 0016 0006 0010 0006 0010 0006 0010 0006 0C68</ccf>
            </command>
        </commandSet>
    </remote>
</remotes>
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Fri Nov 29, 2013 12:00 pm    Post subject: Reply with quote

What is the hardware you are using for capturing? (irrecord is crap, not at all comparable with our recent methods...)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Fri Nov 29, 2013 4:29 pm    Post subject: Reply with quote

kusaini,
Barf has identified the reason you are having so many problems with this protocol.

It appears to be a QUAD (4 timing pairs) but it analized down to a Binary (2 timing pairs).

It also appears to have a Toggle, this is a bit that changes state, so the RAW codes don't work either, because RAW doesn't toggle, it just plays back a recording.

To get this to work we are going to need to see some more RAW

I'd like to see you learn Zero three times in a row
Zero A,
Zero B
Zero C
and then capture the RAW for 1, 2, 3, 4, 5, 6, and 7

If we can see what is changing we'll have a much better chance of helping you.
Back to top
View user's profile Send private message Visit poster's website
kusaini



Joined: 29 Nov 2013
Posts: 5

                    
PostPosted: Sun Dec 01, 2013 10:47 am    Post subject: Reply with quote

Thanks guys,
I am using home build receiver, earlier i was using it with Raspberry but during this weekend i connected it with serial port on my PC and produced Raw code with WinLirc, Now these codes are workining in 90% cases, good for me but will be helpful if i can get original code.


name key_up
455 223 221 213 234 548
212 397 214 555 220 225
222 221 226 209 225 215
221 228 217 565 207 392
223 732 206 391 231 388
219 558 210 211 225

name key_down
474 210 228 216 222 557
219 391 215 559 219 218
221 219 226 217 225 217
228 555 215 556 219 391
217 726 219 386 221 390
218 557 221 383 224
name key_ok
477 207 228 214 224 557
219 391 215 559 217 220
222 219 226 217 225 216
229 552 218 559 219 388
219 723 221 389 220 389
221 720 220 214 230

name key_0000
473 221 220 213 222 556
219 392 214 559 220 219
223 219 224 219 222 219
226 555 213 561 217 392
213 728 217 220 222 219
226 217 225 219 224
name key_2
476 209 229 216 222 556
217 393 215 556 219 221
221 219 226 218 223 217
229 217 220 559 219 391
216 725 219 218 224 216
228 218 222 556 219


name key_3
484 198 234 209 219 554
217 396 217 559 222 215
234 212 226 212 232 216
230 208 227 563 206 392
218 719 225 215 230 219
228 213 230 717 222

name key_4
497 212 242 200 241 541
236 375 226 548 228 208
233 208 236 208 229 212
233 548 227 549 224 384
218 725 219 218 224 216
226 390 220 216 223

name key_6
478 207 226 216 225 555
217 395 215 555 219 220
226 213 227 220 225 217
224 220 224 554 217 394
217 719 221 220 226 213
228 388 222 550 221

name key_back
517 191 219 223 228 555
213 395 217 558 215 219
226 218 224 217 226 217
225 554 222 557 213 392
220 726 211 561 219 220
220 221 225 726 211

name key_power
503 199 252 190 253 529
245 366 242 528 246 191
253 186 255 190 251 189
256 190 246 534 243 369
236 705 242 192 245 196
249 703 236 196 249





name key_left
483 214 230 212 226 554
222 389 215 559 220 217
222 219 229 215 222 219
226 555 215 561 217 388
218 728 217 388 217 395
215 557 217 559 212

name key_right
469 209 235 209 233 548
225 382 221 555 222 211
233 213 230 210 228 217
227 558 221 548 222 387
222 718 219 393 215 391
217 561 215 721 219


name key_blue
468 211 229 217 227 550
219 393 218 554 219 220
224 217 227 217 224 217
226 557 213 561 215 395
211 727 220 727 212 221
223 221 221 392 218

name key_yellow
477 205 237 209 234 546
225 384 224 548 225 211
231 210 228 217 229 211
230 215 229 551 221 391
220 721 219 722 224 215
224 219 230 215 224

name key_channelup
472 237 215 196 243 544
227 378 230 543 228 236
211 203 235 211 233 206
235 551 230 545 217 391
221 719 226 213 245 535
219 220 230 209 228

thanks again
Back to top
View user's profile Send private message
kusaini



Joined: 29 Nov 2013
Posts: 5

                    
PostPosted: Sun Dec 01, 2013 10:48 am    Post subject: Reply with quote

Vickyg,

Here are consecutive 0's

name key_0
487 199 252 186 258 530
240 368 244 533 238 192
253 190 249 192 253 191
249 194 251 535 235 370
242 701 236 198 245 199
243 200 247 196 242

name key_00
473 214 237 203 233 550
226 384 222 548 228 211
229 212 231 213 226 215
231 554 213 558 223 387
215 726 219 217 222 219
226 217 225 216 228

name key_000
466 212 230 214 222 559
217 394 210 561 219 217
225 216 226 218 222 219
226 220 219 559 217 393
213 727 217 221 220 219
229 217 222 219 226

name key_0000
473 221 220 213 222 556
219 392 214 559 220 219
223 219 224 219 222 219
226 555 213 561 217 392
213 728 217 220 222 219
226 217 225 219 224

name key_00000
470 214 229 214 224 554
221 388 218 558 217 219
222 219 226 218 222 219
226 218 224 554 222 391
213 728 217 219 222 219
227 217 222 219 226

name key_000000
489 214 231 211 225 556
220 391 217 554 221 215
225 217 228 215 227 214
229 554 216 559 218 392
212 728 217 219 223 219
226 217 225 216 226

name key_0000000
493 214 229 214 221 556
222 390 213 561 218 217
222 221 225 220 219 222
225 217 222 556 220 393
213 727 217 220 222 219
226 217 222 219 226
Back to top
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Sun Dec 01, 2013 12:30 pm    Post subject: Reply with quote

The zeros definitely show the toggle. On the forth line second value it is toggling between 200 and 550. That will cause probably cause you some problems where a key will be ignored.

Barf, does lirc have any way other than raw for doing quad?

I'm thinking that we could trail each raw code with a dummy value with a toggle change to sync up the airtel with the remote. I was successful with this approach with an rc5 unit, but then I ran into a unit with two separate toggles one for menus and a different toggle for the rest of the keys and so my keys would not work reliably
Back to top
View user's profile Send private message Visit poster's website
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Sun Dec 01, 2013 9:32 pm    Post subject: Reply with quote

Below are the commands all set to toggle bit zero, except for the key_dummy_toggle. I suspect that if you use dummy toggle after each key entered you will get 100% recognition, or perhaps you will only need it if you need to use the same key 2x in a row, such as 22 or 11
Give this a tryl.

Code:

#
# Generated by IrMaster
#
begin remote
   name   airtel
   flags   RAW_CODES
   eps   30
   aeps   100
   gap   90234
      begin

         name key_Dummy_toggle
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 550 220 550 220 384
            220 720 220 720 220 720 220 720
            220 720 220

         name key_0
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 220 220 220
            220 220 220

         name key_1
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 220 220 220
            220 384 220
         name key_2
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 220 220 220
            220 550 220
         name key_3
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 220 220 220
            220 720 220
         name key_4
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 220 220 384
            220 220 220
         name key_5
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 220 220 384
            220 384 220
         name key_6
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 220 220 384
            220 550 220
         name key_7
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 220 220 384
            220 720 220
         name key_8
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 220 220 550
            220 220 220
         name key_9
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 220 220 550
            220 384 220
         name key_Power_12
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 220 220 720
            220 220 220
         name key_chanelup_32
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 220 220 550 220 220
            220 220 220
         
         name key_up_88
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 384 220 384 220 550
            220 220 220
         name key_down_89
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 384 220 384 220 550
            220 384 220
         name key_left_90
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 384 220 384 220 550
            220 550 220
         name key_right_91
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 384 220 384 220 550
            220 720 220
         name key_ok_92
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 384 220 384 220 720
            220 220 220
         name key_back_131
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 550 220 220 220 220
            220 720 220
         name key_yellow_192
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 720 220 220 220 220
            220 220 220
         name key_blue_193
            470 215 220 220 220 550 220 384
            220 550 220 220 220 220 220 220
            220 220 220 220 220 550 220 384
            220 720 220 720 220 220 220 220
            220 384 220
         
      end raw_codes
end remote

_________________
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.


Last edited by vickyg2003 on Mon Dec 02, 2013 8:48 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
kusaini



Joined: 29 Nov 2013
Posts: 5

                    
PostPosted: Mon Dec 02, 2013 8:14 am    Post subject: Reply with quote

Thanks i will give it a try.

Just for information, today i opened Remote control and found it is a JP1.3 remote, does it help me to capture codes to execute from IRSEND application or to generate lirc conf file?

Thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> Non-JP1 All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control