Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2021-08

Fritzbox TR64 communication

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Rolf Wetjen

Does anyone have some experience how to communicate via TR64 SOAP with a Fritzbox?

I've a working Python example (fritzconnection) and I know the neccesary http header and data for the SOAP communication.
AVM states that "The default authentication mechanism is HTTP authentication using digest (MD5 hashes)".

But I've no idea and I can't find an example how to implement this with Lazarus. Do I need a TfpHTTPClient or a TfpHTTPWebClient object or someting else? Is there any documentation or tutorial for FPC networking?

Thank you,
Rolf

Reply by email

Tony Whyman
to Rolf Wetjen

Rolf,

You can use the Indy Component library available from https://github.com/IndySockets/Indy. This includes support for http/https and Digest Authentication.

A few years ago I did implement a SOAP based application using the Web Services Toolkit which also used Indy as a comms package.

See.

https://wiki.freepascal.org/Web_Service_Toolkit

Tony

Rolf Wetjen wrote 16 lines
Does anyone have some experience how to communicate via TR64 SOAP with a Fritzbox? I've a working Python example (fritzconnection) and I know the neccesary http header and data for the SOAP communication. AVM states that "The default authentication mechanism is HTTP authentication using digest (MD5 hashes)". But I've no idea and I can't find an example how to implement this with Lazarus. Do I need a TfpHTTPClient or a TfpHTTPWebClient object or someting else? Is there any documentation or tutorial for FPC networking? Thank you, Rolf

Reply by email

Jansen, Dirk
to Rolf Wetjen: Does anyone have some experience how to communicate via TR64 SOAP with a Fritzbox? I've a…

I have a working dialling application for the Fritzbox.

Witch uses TR64 to communicate with the Fritzbox.

If somebody is still interested in some sample code I can publish the source code.

Dirk

Show quoted text 29 lines
-----Ursprüngliche Nachricht----- Von: lazarus Im Auftrag von Rolf Wetjen via lazarus Gesendet: Donnerstag, 19. August 2021 14:26 An: Cc: Rolf Wetjen Betreff: [Lazarus] Fritzbox TR64 communication Does anyone have some experience how to communicate via TR64 SOAP with a Fritzbox? I've a working Python example (fritzconnection) and I know the neccesary http header and data for the SOAP communication. AVM states that "The default authentication mechanism is HTTP authentication using digest (MD5 hashes)". But I've no idea and I can't find an example how to implement this with Lazarus. Do I need a TfpHTTPClient or a TfpHTTPWebClient object or someting else? Is there any documentation or tutorial for FPC networking? Thank you, Rolf -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

Reply by email