|
|
|
@ -790,10 +790,10 @@ class rds_parser_table_qt(gr.sync_block):#START |
|
|
|
seg_adr_start=(adr-4)*4#start of segment |
|
|
|
seg_adr_start=(adr-4)*4#start of segment |
|
|
|
text_list[seg_adr_start:seg_adr_start+4]=segment |
|
|
|
text_list[seg_adr_start:seg_adr_start+4]=segment |
|
|
|
self.RDS_data[PI]["AID_list"][52550]["provider name"]="".join(text_list) |
|
|
|
self.RDS_data[PI]["AID_list"][52550]["provider name"]="".join(text_list) |
|
|
|
if adr==6: |
|
|
|
if adr==6: |
|
|
|
AF1_ON=tmc_y>>8 |
|
|
|
AF1_ON=tmc_y>>8 |
|
|
|
AF2_ON=tmc_y&0xff |
|
|
|
AF2_ON=tmc_y&0xff |
|
|
|
PI_ON=tmc_z |
|
|
|
PI_ON=tmc_z |
|
|
|
if adr== 7:#freq of tuned an mapped station (not seen yet) |
|
|
|
if adr== 7:#freq of tuned an mapped station (not seen yet) |
|
|
|
freq_TN=tmc_y>>8 |
|
|
|
freq_TN=tmc_y>>8 |
|
|
|
freq_ON=tmc_y&0xff#mapped frequency |
|
|
|
freq_ON=tmc_y&0xff#mapped frequency |
|
|
|
@ -802,10 +802,10 @@ class rds_parser_table_qt(gr.sync_block):#START |
|
|
|
print("TMC-info: TN:%i, station:%s"%(freq_TN,self.RDS_data[PI]["PSN"])) |
|
|
|
print("TMC-info: TN:%i, station:%s"%(freq_TN,self.RDS_data[PI]["PSN"])) |
|
|
|
self.RDS_data[PI]["TMC_TN"]=freq_TN |
|
|
|
self.RDS_data[PI]["TMC_TN"]=freq_TN |
|
|
|
if adr== 9: |
|
|
|
if adr== 9: |
|
|
|
LTN_ON=(tmc_y>>10) |
|
|
|
LTN_ON=(tmc_y>>10) |
|
|
|
MGS_ON=(tmc_y>>6)&0xf |
|
|
|
MGS_ON=(tmc_y>>6)&0xf |
|
|
|
SID_ON=(tmc_y)&0x3f |
|
|
|
SID_ON=(tmc_y)&0x3f |
|
|
|
PI_ON=tmc_z |
|
|
|
PI_ON=tmc_z |
|
|
|
else: |
|
|
|
else: |
|
|
|
if self.log or self.debug or True:#not seen yet -> always print |
|
|
|
if self.log or self.debug or True:#not seen yet -> always print |
|
|
|
print("alert plus on station %s (%s) , encrypted TMC?"%(PI,self.RDS_data[PI]["PSN"]))#(not seen yet) |
|
|
|
print("alert plus on station %s (%s) , encrypted TMC?"%(PI,self.RDS_data[PI]["PSN"]))#(not seen yet) |
|
|
|
|