Sennheiser Media Control Protocol for ew300/500 receivers
Hans Schouten
Junior Member
Hi,
Has anyone experience using the Sennheiser Media Control Protocol for readout settings ie. battery level etc for a Sennheiser ew300 series receiver?
I have the protocol from the sennheiser site but I won't get any response.
I make a connection using UDP (type 3 in IP_CLIENT_OPEN) over port 53212.
Regards,
Hans Schouten.
Has anyone experience using the Sennheiser Media Control Protocol for readout settings ie. battery level etc for a Sennheiser ew300 series receiver?
I have the protocol from the sennheiser site but I won't get any response.
I make a connection using UDP (type 3 in IP_CLIENT_OPEN) over port 53212.
Regards,
Hans Schouten.
Comments
-
Please post your code and well have a look at it. Perhaps it's something simple you're forgetting.
-
Please do not cross-post threads
Please do not cross-post threads.
You also posted this here: http://www.amxforums.com/showthread.php?9286-Sennheiser-Media-Control-Protocol-for-ew300-500-receivers.
As Auser once put it:Spawning multiple identical threads for a single question such as you've been doing is considered poor forum etiquette and could mean that people won't answer your questions if they do have information which could be of help to you.
If somebody hasn't answered your initial post, it could well be because we can't offer advice based on the information you've given.
If nobody responds and you're desperate for an answer, post another message in the same thread you started providing more information on your situation instead of just posting the same question over and over in new threads. Posting code you've already written and the protocol for the device/application that you're having trouble with generally helps us to help you. The more information you provide, the more likely it is that we'll be able to help. -
Dear Mr. Medley,
Thanks for responding to my question.
I have attached the Sennheiser protocol.
A small part of my code:
DEFINE_DEVICE
dvSENNHEISER_1 = 0:7:3
DEFINE_VARIABLE
VOLATILE INTEGER iSENNHEISER_1_BAT_LEVEL
DEFINE_EVENT
DATA_EVENT[dvSENNHEISER_1]
{
ONLINE:
{
SEND_COMMAND Data.Device,"'RXON'"
}
STRING:
{
STACK_VAR CHAR cSENNHEISER_1_MSG[50]
cSENNHEISER_1_MSG = Data.Text
send_string 0,"cSENNHEISER_1_MSG"
IF (FIND_STRING (cSENNHEISER_1_MSG,"$0D",1))
{
IF (FIND_STRING (cSENNHEISER_1_MSG,'Bat ',1))
{
REMOVE_STRING (cSENNHEISER_1_MSG,'Bat ',1)
iSENNHEISER_1_BAT_LEVEL = ATOI(REMOVE_STRING (cSENNHEISER_1_MSG,"$0D",1))
}
}
}
}
DEFINE_PROGRAM
(*========================================*)
(* GET SENNHEISER BAT LEVEL *)
(*========================================*)
WAIT 50 // for testing
{
IP_CLIENT_OPEN(dvSENNHEISER_1.Port, '192.168.40.160', 53212, 3) // UDP CONNECTION ! 3 = UDP WITH RECEIVE
WAIT 10
{
SEND_STRING dvSENNHEISER_1,"'Bat',$0D"
}
}
(*
*) -
I just looked at the Sennheiser protocol file and I think it is not possible to request the BAT level directly.
You can get the BAT level as a part of the cyclic attributes.
Use the Push command to get the cyclic attributes.
To get a single status of this cyclic attributes use:
(first open the ip connection)
Push 0 100 0<CR>
(the ip connection will close due a timeout mechanism included in the protocol)
So you should get all cyclic parameters back once.
You can find the cyclic attributes response on page 9 of the protocol.
Regards,
Markus
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums