E4230 und E4430 bluetooth

  • Moin erstmal


    Vorweg hab ein E4230


    hab Grad ein bissl in der Wiki gestöbert und herausgefunden das bei dem E4225 und dem E4425 sowie dem E4235 sowie dem E4435 jeweils nur der unterschied ist das die E44 Version Bluetooth hat .
    Da beim E4230 nichts stand hab ich mir das E4430 angeguckt und tada es sieht genauso aus wie das E4230 also geh ich mal davon aus das es das gleiche ist (bis auf BT).
    so nun meine frage an die Bastler unter euch. da bis auf den BT chip ja das navi gleich ist weis jemand ob man diesen chip im E4230 noch einbauen kann da ich BT schon Praktisch fände und ich mir nich nach 4 Wochen nen neues navi kaufen möchte.


    mfg GeFifTeen


    achja is dieses popelloch über der Power leuchte ein Mikrofon oder was??

  • Zitat

    Original von GFifTeen
    Vorweg hab ein E4230 (...)
    achja is dieses popelloch über der Power leuchte ein Mikrofon oder was??


    Es ist doch genau das Thema DEINES Threads, auf den hier nun schon verwiesen wurde, und entspricht auch genau DEINER eigenen Aussage incl. dem Verweis auf die Bedienungsanleitung dort. ?(

  • @GFifTeen


    bevor etwas schief läuft: das war meine Aussage i.S. BT


  • Zitat

    Original von jwoegerbauer:
    bevor etwas schief läuft: das war meine Aussage i.S. BT


    Was soll denn da schief laufen? Unmittelbare Sache seines Threads, auf den Du nun wieder verweist, war aber Mikrofon und Sprachsteuerung beim E4230. Und deshalb hatte mich gewundert, das er dies hier nun nochmals als Nebenfrage/-thema in seinem Eingangspost bringt. Mein Zitat bezieht sich doch auch ausschließlich darauf. Dieser Aspekt ist doch in seinem Thread bereits ausgiebig behandelt. Selbst wenn da noch Fragen blieben, gehörten sie wohl weiter dahin.
    Die Frage nach dem "Popelloch" als Mikrofon von IHM verstehe ich hier jedenfalls garnicht, beantwortete er sie sich doch selbst bereits drüben per Zitieren seiner BDA.

  • Da im Handbuch zum E4230 naturgemäß rein gar nichts im Hinblick auf BT
    ausgeführt wird: hier findet sich eine (mehr oder minder brauchbare) Anleitung
    zum Einrichten von BT.

  • Im Gegensatz zum E4430 (MD97060) ist die Bluetooth-Schnittstelle beim E4230 (MD97830) in keiner Weise
    vorkonfiguriert und somit ready-for-use. Dem kann aber abgeholfen werden, und zwar mit Hilfe eines
    (stupiden) Progrämmchens in MortScript, wie es das folgende Beispiel zeigen soll:


    EDIT: Fehler, auf den schlork am 20.10.09 aufmerksam gemacht hat, behoben (rot)



    ################################################
    #
    # E4230_INIT_BLUETOOTH_AUDIO_GATEWAY.mscr
    #
    # based on: http://msdn.microsoft.com/en-us/library/ms880945.aspx
    #
    # Note:
    # This code is experimental, you use it at your own risk.
    #
    #################################################
    #
    Errorlevel("off")
    Local()
    Set HIVE, "HKLM"
    SET PATH, "Services\BTAGSVC"
    #
    # The registry settings for the BT Audio Gateway service are located under the
    # HKEY_LOCAL_MACHINE\Services\BTAGSVC registry key.
    #
    If (not RegValueExists(%HIVE%, %PATH%, "IsEnabled"))
    SetMessageFont( 24, "Verdana" )
    SleepMessage(5, "^NL^^NL^BT Audio Gateway service is not available on this device")
    Exit
    EndIf
    If(0 = RegRead(%HIVE%, %PATH%, "IsEnabled"))
    If( 0 = Question("Dou you want to enable it?", \
    "BT Audio Gateway service is not enabled on this device", "YesNo"))
    Exit
    EndIf
    RegWriteDword(%HIVE%, %PATH%, "IsEnabled", 1)
    Sleep 100
    EndIf
    #
    # To enable Handset and Hands-free profiles on the device, we must add the
    # HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HandsfreeProfileOn key in the registry.
    # This registry key is not added by default because many devices do not support Bluetooth.
    RegWriteDword(%HIVE%, "Software\Microsoft\Bluetooth", "HandsfreeProfileOn", "")
    #
    # now pre-configure BT AG
    Set PATH, "Software\Microsoft\Bluetooth\AudioGateWay"
    #
    # Determines whether or not the connection is authenticated. Default: 1
    RegWriteDword(%HIVE%, %PATH%, "Authenticate", 1)
    Sleep 100
    #
    # Determines whether or not audio is routed to the Bluetooth hands-free device. Default:0
    RegWriteDword(%HIVE%, %PATH%, "ConnectScoInAlways", 0)
    Sleep 100
    #
    # Determines whether or not the connection is encrypted. Default: 1
    RegWriteDword(%HIVE%, %PATH%, "Encrypt ", 1)
    Sleep 100
    #
    # Specifies the audio driver. The setting can have the following values:
    # 0 - Use the built-in SCO audio driver.
    # 1 - Assume that audio is automatically routed to the Bluetooth hardware. Default.
    RegWriteDword(%HIVE%, %PATH%, "MapAudioToPcmMode", 1)
    Sleep 100
    #
    # Specifies the default microphone volume with respect to the AT+VGM command. Default: 8
    RegWriteDword(%HIVE%, %PATH%, "MicVolume", 8)
    Sleep 100
    #
    # Specifies whether or not the hands-free profile is used.
    # 0 - Enables the Hands-Free profile.
    # 1 - Disables the Hands-Free Profile.
    RegWriteDword(%HIVE%, %PATH%, "NoHandsFree", 1)
    Sleep 100
    #
    # Configures the audio gateway to conserve power when establishing audio connections.
    # 0 - Keeps the service level connection active for the Hands-Free profile in between calls.
    # 1 - Closes the service level connection between calls.
    RegWriteDword(%HIVE%, %PATH%, "PowerSave", 0)
    Sleep 100
    #
    # Specifies the default speaker volume with respect to the AT+VGS command. Default: 8
    RegWriteDword(%HIVE%, %PATH%, "SpkVolume", 8)
    Sleep 100
    #
    # Specifies the capability bitmask that is specified by the hands-free profile. Default: 0x21 (33).
    # To enable voice tag support, set this value to 0x25 (37).
    RegWriteDword(%HIVE%, %PATH%, "Capability", 37)
    Sleep 100
    #
    # Specifies the page timeout for connecting to the peer Bluetooth device. This value is passed as
    # a parameter to the BthWritePageTimeout function.
    RegWriteDword(%HIVE%, %PATH%, "PageTimeout", 10)
    Sleep 100
    #
    # Specifies the name of the AT command extension DLL to load. By default, the AG uses btagatext.dll.
    RegWriteString(%HIVE%, %PATH%, "BTAGExtModule", "btagatext.dll")
    Sleep 100
    #
    # Specifies how outgoing calls should be handled. The setting can have the following values:
    # 0 - Prompts where the outgoing call should be handled.
    # 1 - Automatically handles the call in the headset.
    # 2 - Disables audio routing and automatically handles the call in the hands-free device.
    RegWriteDword(%HIVE%, %PATH%, "OutgoingCallOption", 1)
    Sleep 100
    #
    # Specifies the timeout value in milliseconds before activating the SNIFF mode for the connection.
    # Default value is 5000 milliseconds.
    RegWriteDword(%HIVE%, %PATH%, "SniffDelay", 5000)
    Sleep 100
    #
    # Specifies the maximum acceptable number of Baseband slots between each sniff period.
    # The time length is equal to N * 0.625 msec, or 1 Baseband slot. The valid range
    # for N is 0x0001 to 0xFFFF (65535). The valid time range is 0.625 msec to 40.9 seconds.
    RegWriteDword(%HIVE%, %PATH%, "SniffMax", 65535)
    Sleep 100
    #
    # Specifies the minimum acceptable number of Baseband slots between each sniff period.
    # The time length is equal to N * 0.625 msec, or 1 Baseband slot. The valid range
    # for N is 0x0001 to 0xFFFF. The valid time range is 0.625 msec to 40.9 seconds.
    RegWriteDword(%HIVE%, %PATH%, "SniffMin", 1)
    Sleep 100
    #
    # Specifies the number of Baseband receive slots for sniff attempt. The length is equal
    # to (2 * N 1) * 0.625 msec.
    # The valid range for N is 0x0001 to 0x7FFF. The valid time range is 0.625 msec to 40.9 seconds.
    RegWriteDword(%HIVE%, %PATH%, "SniffAttempt", 10)
    Sleep 100
    #
    # Specifies the number of Baseband receive slots for sniff timeout. If N is greater than 0,
    # the length is equal to (2 * N 1) * 0.625 msec. If N is equal to 0, then the length is equal to 0 msec.
    # The valid range for N is 0x0000 to 0x7FFF (32767). The valid time range is 0 msec to 40.9 seconds.
    RegWriteDword(%HIVE%, %PATH%, "SniffTimeout", 10)
    Sleep 100
    SetMessageFont( 24, "Verdana" )
    SleepMessage(5, \
    "^NL^^NL^BT Audio Gateway service initialized.^NL^^NL^System will be restarted now ...")
    Reset
    #
    #####################################################

  • Ich hoffe, ich darf in diesen Thread mit einsteigen, obwohl ich kein E4430 sondern ein Falk F10 mit Miopocket habe.
    Mein Ziel den vorhandenen Bluetooth Stack entweder zu erweitern, oder zu ersetzen, so dass das Headsetprofile auch möglich ist, um das Navi auf dem Motorrad nutzen zu können.
    Durch die super Erläuterungen von jwoegerbauer habe ich das Gefühl ich bin dem Ziel näher gekommen.

    Ich habe mich hier
    http://msdn.microsoft.com/en-us/library/ms880971.aspx
    eingelesen um zumindest die registry Bedingungen abzuklären.
    Demnach müsste das script wie folgt aussehen:


    #################################################
    ############################################################################################
    #
    # E4230_INIT_BLUETOOTH_AUDIO_GATEWAY.mscr
    #
    # based on: http://msdn.microsoft.com/en-us/library/ms880945.aspx
    #
    # Note:
    # This code is experimental, you use it at your own risk.
    #
    #############################################################################################
    #
    Errorlevel("off")
    Local()
    Set HIVE, "HKLM"
    SET PATH, "Services\BTAGSVC"
    #
    # The registry settings for the BT Audio Gateway service are located under the
    # HKEY_LOCAL_MACHINE\Services\BTAGSVC registry key.
    #
    If (not RegKeyExists(%HIVE%, %PATH% & "\IsEnabled"))
    RegWriteDword(%HIVE%, %PATH%, "IsEnabled", 1)
    Sleep 100
    EndIf
    #
    # To enable Handset and Hands-free profiles on the device, we must add the
    # HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HandsfreeProfileOn key in the registry.
    # This registry key is not added by default because many devices do not support Bluetooth.
    #
    RegWriteDword("HKLM", "Software\Microsoft\Bluetooth\HandsfreeProfileOn","IsEnabled", 1)
    #
    Set PATH, "Software\Microsoft\Bluetooth\AudioGateWay"
    #
    # Determines whether or not the connection is authenticated. Default: 1
    RegWriteDword(%HIVE%, %PATH%, "Authenticate", 1)
    Sleep 100
    ...............................Der Rest ist wie bei jwoegerbauer



    Das von jwoegerbauer geschriebene script gehört also unter


    Zitat

    Set PATH, "Software\Microsoft\Bluetooth\AudioGateWay"


    und handsfreeon muss "nur aktiviert werden, was ich so versucht habe


    Zitat

    RegWriteDword("HKLM", "Software\Microsoft\Bluetooth\HandsfreeProfileOn","IsEnabled", 1)


    Was dann noch in der registry fehlt sind die stack settings.
    http://msdn.microsoft.com/en-us/library/ms884944.aspx


    Bei den xda-developers gibt es den bchs_for_pocket_pc_ozone.armv4.cab Stack. Wenn ich diesen installiere, habe ich auch die stack settings.
    Die im Paket enthaltene btp_audio_ui.exe ist auch auf dem Gerät gestartet, aber ich habe keine Ahnung, wie ich ins settings Menu (s.Bild) kommen soll.
    Da dieser stack ja für Pocket PC kreiert wurde, nehme ich an in das menu komme ich mit dem Standard Bluetooth Button, den ich aber am PNA ja nicht habe. Weiss da jemand Rat?

    3 Mal editiert, zuletzt von schlork ()

  • Hallo Schlork,


    die stack settings hatte ich im Konzept auch fertig, nur das Skript deshalb hier nicht bekanntgemacht,
    weil mir ein Wert nicht zur Verfügung stand, nämlich COD:



    EDIT: Skript vervollständigt um den Wert COD, von schlork am 20.10.09 mitgeteilt



    ######################################################################################
    #
    # E4230_INIT_BLUETOOTH_STACK.mscr
    #
    #
    # Author: jwoegerbauer
    # based on: http://msdn.microsoft.com/en-us/library/ms884944.aspx
    #
    # Note:
    # This code is experimental, you use it at your own risk.
    #
    #######################################################################################
    #
    Errorlevel("off")
    Local()
    Set HIVE, "HKLM"
    #
    #
    ######################################################################################
    # The L2CAP layer registry settings are located under the
    # HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\l2cap key.
    ######################################################################################
    SET PATH, "\Software\Microsoft\Bluetooth\l2cap"
    l2cap=1
    If (RegKeyExists(%HIVE%, %PATH%))
    l2cap = Question("Dou you want to overwrite it?", \
    "BT stack L2CAP layer is already configured on this device", "YesNo"))
    EndIf
    #
    #
    If (l2cap)
    SetMessageFont( 24, "Verdana" )
    SleepMessage(5, \
    "^NL^^NL^BT stack L2CAP layer will be initialized to defaults now ...^NL^^NL^")
    #
    #
    # Sets the Response Timout eXpired (RTX) timer value. This timer determines the time in
    # seconds that the L2CAP layer must wait before the channel is terminated due to an
    # unresponsive remote device. Default value is 0x3C (60 seconds).
    RegWriteDword(%HIVE%, %PATH%, "RTX", 60)
    Sleep 100
    #
    # Sets the Extended Response Timeout eXpired (ERTX) timer value. This timer is used when
    # the remote device is performing additional processing of a request signal.
    # Default value is 0x12C (300 seconds).
    RegWriteDword(%HIVE%, %PATH%, "ERTX", 300)
    Sleep 100
    #
    # Sets the maximum amount of time that the L2Cap layer waits before closing a baseband
    # connection after the logical link has been disconnected. Default value is 0xA (10 seconds).
    RegWriteDword(%HIVE%, %PATH%, "IdlePhys", 10)
    Sleep 100
    #
    # Sets the timeout value, in seconds, that the L2CAP layer must wait for incoming data on
    # a new connection. Default value is 0xA (10 seconds).
    RegWriteDword(%HIVE%, %PATH%, "IdleConnect", 10)
    Sleep 100
    #
    # Sets the timeout value, in seconds, that the L2CAP layer must wait when the configuration
    # process is in progress. Default value is 0x78 (120 seconds).
    RegWriteDword(%HIVE%, %PATH%, "ConfigTimeout", 120)
    Sleep 100
    #
    # Sets the default link policy for the new connection. Default value is 0xF.
    RegWriteDword(%HIVE%, %PATH%, "Linkpolicy", 15)
    Sleep 100
    #
    # Determines if piconet is enabled. Setting this value to 1 does not close the idle physical
    # connection. Default value is 0.
    RegWriteDword(%HIVE%, %PATH%, "PicoCapable", 0)
    Sleep 100
    #
    #Determines the default packet type on the L2CAP connection. The default value is 0.
    #That allows all SCO and ACL packet types.
    RegWriteDword(%HIVE%, %PATH%, "ConnectPacketType", 0)
    Sleep 100
    #
    # Determines the default scan mode for the Bluetooth adapter. The default value is 0x3
    # and ensures inquiry mode and page scan mode are enabled.
    RegWriteDword(%HIVE%, %PATH%, "ScanModeControl", 3)
    Sleep 100
    #
    #
    SetMessageFont( 24, "Verdana" )
    SleepMessage(5, \
    "^NL^^NL^BT stack L2CAP layer initialized to defaults.^NL^^NL^")
    EndIf
    #
    #
    ##########################################################################################
    # The RFCOMM layer registry settings are located under the
    # HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\rfcomm key.
    ##########################################################################################
    SET PATH, "\Software\Microsoft\Bluetooth\rfcomm"
    rfcomm=1
    If (RegKeyExists(%HIVE%, %PATH%))
    rfcomm = Question("Dou you want to overwrite it?", \
    "BT stack RFCOMM layer is already configured on this device", "YesNo"))
    EndIf
    #
    #
    If (rfcomm)
    SetMessageFont( 24, "Verdana" )
    SleepMessage(5, \
    "^NL^^NL^BT stack RFCOMM layer will be initialized to defaults now ...^NL^^NL^")
    #
    # Sets the timeout value, in seconds that the RFCOMM layer must wait when the configuration
    # process is in progress. Default value is 0.
    RegWriteDword(%HIVE%, %PATH%, "timeout", 0)
    Sleep 100
    #
    #
    SetMessageFont( 24, "Verdana" )
    SleepMessage(5, \
    "^NL^^NL^BT stack RFCOMM layer initialized to defaults.^NL^^NL^")
    EndIf
    #
    #
    ##########################################################################################
    # The system settings are located under the
    # HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\sys key.
    ##########################################################################################
    SET PATH, "\Software\Microsoft\Bluetooth\sys"
    sys=1
    If (RegKeyExists(%HIVE%, %PATH%))
    sys = Question("Dou you want to overwrite it?", \
    "BT stack System settings are already configured on this device", "YesNo"))
    EndIf
    #
    #
    If(sys)
    SetMessageFont( 24, "Verdana" )
    SleepMessage(5, \
    "^NL^^NL^BT stack System settings will be initialized to defaults now ...^NL^^NL^")
    #
    # Sets the class of device for the Bluetooth device. Potential values are defined in the
    # Bluetooth Assigned Numbers document that is available on the Official Bluetooth Web site.
    RegWriteDword(%HIVE%, %PATH%, "COD", 20981840)
    Sleep 100
    #
    # Determines whether or not suspend mode is enabled on the device.
    # 1: AutoSuspend is disabled. If the Bluetooth device is currently connected the stack calls
    # SystemIdleTimerReset periodically to ensure the device does not go to sleep.
    # 0: AutoSuspend is not be disabled by the stack.
    RegWriteDword(%HIVE%, %PATH%, "DisableAutoSuspend", 0)
    Sleep 100
    #
    # Sets the time to wait in milliseconds after pairing and before an SDP search.
    RegWriteDword(%HIVE%, %PATH%, "PostPairSleep", 5000)
    Sleep 100
    #
    #
    SetMessageFont( 24, "Verdana" )
    SleepMessage(5, \
    "^NL^^NL^BT stack System settings initialized to defaults.^NL^^NL^")
    EndIf
    #
    #
    If(sys OR rfcomm OR l2cap)
    SetMessageFont( 24, "Verdana" )
    SleepMessage(5, \
    "^NL^^NL^To activate the changes made to registry,^NL^system will be restarted now ...")
    Restart
    EndIf
    #
    #
    Exit
    #
    #############################################################################################


    Es hatte in einem Parell-Thread @passat1 behauptet, dass beim E4230 BT Audio funktioniert:
    wäre schön er würde den entsprechenden Registry-Auszug uns allen hier zur Verfügung stellen.

  • Hi jwoegerbauer,


    Wow deine scripts sind echt der Hammer!!! :tup
    bei COD steht bei mir (decimal) 2098184


    Das solltest du auch noch ändern


    Zitat

    RegWriteDword(%HIVE%, "Software\Microsoft\Bluetooth\HandsProfileOn", 1)


    Zum Einen HandsfreeprofileOn,
    zum anderen bleibt das script hier hängen.


    Ich habs so abgeändert ohne irgendeine Ahnung ob das stimmt, aber so läuft es durch



    Zitat

    RegWriteDword("HKLM", "Software\Microsoft\Bluetooth\HandsfreeProfileOn","IsEnabled", 1)

    Einmal editiert, zuletzt von schlork ()

  • Hallo schlork,


    danke für die Nennung des Wertes für COD, das E4230_INIT_BLUETOOTH_STACK-Skript kann jetzt
    in den Test gehen.


    Zitat

    Original von schlork
    ...
    Ich habs so abgeändert ohne irgendeine Ahnung ob das stimmt, aber so läuft es durch
    ...


    1.
    Der Schlüssel "HandsfreeProfileOn" hat keinen DWord-Wert, einfach leer lassen: MS schlägt ja auch keinen Default-Wert vor.


    2.
    Der BlueTooth AudioGate Dienst ( BTAGSVC ) ist in CE 5 in der Registry unter

    [HKEY_LOCAL_MACHINE\Services\BTAGSVC]
    "Dll"="BTAGSVC.Dll"
    "Order"=dword:00000009
    "Keep"=dword:00000001
    "Prefix"="BAG"
    "Index"=dword:00000000
    "IsEnabled"=dword:00000001

    beschrieben.


    Das IsEnabled = 1 weist die NK.EXE (den CE Boot-Loader) an diesen
    Dienst ( BTAGSVC.DLL ) zu laden.
    Ist in der ROM-Fassung der Registry dieses flag seitens des OEM nicht standardmäßig
    gesetzt, ist es nicht Hard-Reset resistent, somit hier zusätzlich ein work-around
    gefunden werden muss.


    Die BTAGSVC.DLL muss im \Windows Verzeichnis liegen.


    3.
    Auch soll's typischerweise noch den Registry-Eintrag

    [HKEY_LOCAL_MACHINE\System\State\Hardware]
    "Handsfree"=dword:00000001

    geben, weiss aber momentan hierzu (noch) nicht Genaueres.


    4.
    Wegen des anderen Stacks (XDA-Developers) werde ich mich auch noch schlau machen und dann berichten.

  • Hi ich hatte in meinem obigen Thread das Bild des XDA-developers Bluetooth stack vergessen. (siehe unten)


    http://forum.xda-developers.com/showthread.php?t=249219


    das scheint mir in der Theorie zu funktionieren, blos wie komme ich in die Einstellungen. Bei den PDA's ist ja der Bluetooth Button fest in die shell integriert


    Edit:
    Activ Sync über Bluetooth, (k)ein leidiges Thema?!
    Eine Idee wäre auch noch der broadcomn560.cab den hatte ich bei meinem Loox N560 installiert. Funzte super. Kann ich leider, weil zu groß, hier nicht hochladen und RS links sind wohl nicht gern gesehen. Aber kein Problem mit Google


    Mit dem habe ich allerdings das Problem, Installieren lässt sich die cab nicht "keine gültige wince Anwendung" und der wince cab manager meldet "the file being opened is not a valid windows ce cabinet file"


    OCP der Hersteller des Cab Managers sagt hier zu es läge an den temporären Dateien auf dem PC. Blos die habe ich bereinigt
    http://support.ocpsoftware.com/viewtopic.php?t=447
    Vielleicht kann es jemand von euch mal versuchen!?

  • Für interessierte E4230-Besitzer habe ich ein Installationspaket geschnürt,
    mit dem BT AudoGateway und BT Stack bequem auf dem PNA installiert werden können.


    WICHTIG:
    Alle verwendeten Werte sind bloße Standardwerte, jeder Einzelne muss sie an seine Bedürfnisse anpassen.



    Installation:


    1.
    Unpack the ZIP-File to your Desktop-PC


    2.
    In the unpacked ZIP-File select folder GoPAL4 or folder GoPAL5 according to
    your target device


    3.
    Copy the folder My Flash Disk 1.1 (via ActiveSync or WMDC) to your target
    device


    4.
    Soft-Reset your device


    5.
    In the main menu you will detect, probably as last entry, the menu entry BT AG



    DISCLAIMER:
    I do not give any support, the tool comes "AS IS" software, use it at your own risk.



    Good luck!

  • @jwoegerbauer


    sieht super aus! Werde es heute abend mal auf mein Falk umstricken.
    Frage? Was ist denn der Unterschied der Beiden Versionen?

  • Ich vergaß:


    Was macht denn die BluetoothToggle.exe darin? Ich habe sie in den scripten nirgends gefunden?