digraph Pages { node [shape=rect, style=bold, color=black, height=0.7, penwidth=2]; overlap=false; splines=true; sep="+30"; nodesep=0.9; ranksep=0.6; newrank=true; // landscape=true; // // Blocchi speciali // User [label="User", shape=oval]; EndUser [label="User\nHandler", shape=oval]; Uuid [label="UUID", color=red, fontcolor=red, shape=none]; Cccd [label="CCCD\nHandle", color=red, fontcolor=red, shape=none]; Source [label="Source\nRegistrator", color=red, fontcolor=red, shape=none]; Connect [label="ConnectToServerAndNotifyEn()"]; ConnectToServer [label="ConnectToServerAndSetMtu()", color=green]; ConnectHandler [label="NotifyEnHandler()"]; UuidJob [label="CharDiscForNotifyJob()"]; aci_gatt_disc_char_by_uuid [label="aci_gatt_disc_char_by_uuid()", color=grey]; DiscReadCharByUuidHandler [label="CharDiscForNotifyHandler()"]; CharDiscByUuidComplete [label="CharDiscForNotifyComplete()"]; EnableJob [label="NotifyEnableJob()"]; NotifyEnableComplete [label="NotifyEnableComplete()"]; aci_gatt_write_char_desc [label="aci_gatt_write_char_desc()", color=grey]; SourceReg [label="Methods -> SourceReg()"]; // // Collegamenti tra le funzioni // User -> Connect -> ConnectToServer; ConnectToServer -> ConnectHandler [penwidth=4, color=cyan]; ConnectHandler -> Uuid [label="push", color=red, fontcolor=red, penwidth=2]; ConnectHandler -> Source [label="push", color=red, fontcolor=red, penwidth=2]; Uuid -> UuidJob [label="pop", color=red, fontcolor=red, penwidth=2]; Source -> DiscReadCharByUuidHandler [label="pop", color=red, fontcolor=red, penwidth=2]; ConnectHandler -> UuidJob [penwidth=4, color=black]; UuidJob -> aci_gatt_disc_char_by_uuid; aci_gatt_disc_char_by_uuid -> DiscReadCharByUuidHandler [penwidth=4, color=cyan]; aci_gatt_disc_char_by_uuid -> CharDiscByUuidComplete [penwidth=4, color=cyan]; CharDiscByUuidComplete -> UuidJob [penwidth=4, color=black]; UuidJob -> EnableJob [penwidth=4, color=black]; EnableJob -> aci_gatt_write_char_desc; NotifyEnableComplete -> EnableJob [penwidth=4, color=black]; aci_gatt_write_char_desc -> NotifyEnableComplete [penwidth=4, color=cyan]; EnableJob -> EndUser; DiscReadCharByUuidHandler -> SourceReg; SourceReg -> Cccd [label="push", color=red, fontcolor=red, penwidth=2]; Cccd -> EnableJob [label="pop", color=red, fontcolor=red, penwidth=2]; { rank=same; Uuid; ConnectHandler; Source; } { rank=same; User; Connect; } // { rank=same; aci_gatt_disc_char_by_uuid; EnableJob; } // { rank=same; SourceReg; EnableJob ; } // { rank=same; NotifyEnableComplete; Cccd; } }