[chirp_devel] New Driver not registering
I have written a driver for the Radio Shack PRO-649 scanner, but it does not register in the directory. I can force it by manually adding the 'rs649' to the __init__.py file, and then it runs perfectly. But why won't it register itself? It is in the \chirp\drivers folder on my Win7 system. Also, does anyone know how to invoke the 'show_instructions' function in the mainapp? I want to provide some configuration hints. I don't find any driver currently using this call.
I have written a driver for the Radio Shack PRO-649 scanner, but it does not register in the directory. I can force it by manually adding the 'rs649' to the __init__.py file, and then it runs perfectly.
But why won't it register itself? It is in the \chirp\drivers folder on my Win7 system.
It works fine for me:
dan@eagle:~/dev/chirp$ CHIRP_DEBUG=y ./chirpw 2>&1 | grep RadioShack INFO: Registered RadioShack_PRO-649 = PRO649
Also, does anyone know how to invoke the 'show_instructions' function in the mainapp? I want to provide some configuration hints. I don't find any driver currently using this call.
You implement get_prompts() in your radio. For example:
https://chirp.danplanet.com/projects/chirp/repository/entry/chirp/drivers/ft...
--Dan
Thanks. I found my \drivers__init__.py file was corrupted, so that's why it didn't register. And I thought I had found a special "Show Instructions" dialog, separate from the usual three prompts, but that was just the implementation of the pre_upload and pre_download messages.?? So I have added extended info there.
Rick DeWitt AA0RD Sequim, Washington, USA 360-681-3494
On 2/20/2018 6:20 PM, Dan Smith via chirp_devel wrote:
I have written a driver for the Radio Shack PRO-649 scanner, but it does not register in the directory. I can force it by manually adding the 'rs649' to the __init__.py file, and then it runs perfectly.
But why won't it register itself? It is in the \chirp\drivers folder on my Win7 system.
It works fine for me:
dan@eagle:~/dev/chirp$ CHIRP_DEBUG=y ./chirpw 2>&1 | grep RadioShack INFO: Registered RadioShack_PRO-649 = PRO649
Also, does anyone know how to invoke the 'show_instructions' function in the mainapp? I want to provide some configuration hints. I don't find any driver currently using this call.
You implement get_prompts() in your radio. For example:
https://chirp.danplanet.com/projects/chirp/repository/entry/chirp/drivers/ft...
--Dan _______________________________________________ chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
participants (2)
-
Dan Smith
-
Rick DeWitt